NavInflater
public
final
class
NavInflater
extends Object
java.lang.Object
|
↳ |
androidx.navigation.NavInflater
|
Class which translates a navigation XML file into a NavGraph
Summary
Public methods |
NavGraph
|
inflate(int graphResId)
Inflate a NavGraph from the given XML resource id.
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
NavInflater
public NavInflater (Context context,
NavigatorProvider navigatorProvider)
Parameters |
context |
Context |
navigatorProvider |
NavigatorProvider |
Public methods
inflate
public NavGraph inflate (int graphResId)
Inflate a NavGraph from the given XML resource id.