-
- All Implemented Interfaces:
-
app.rive.ViewModelInstanceSource
public final class ViewModelInstanceSource.Reference implements ViewModelInstanceSource
Create a reference to an existing child view model instance.
-
-
Field Summary
Fields Modifier and Type Field Description private final ViewModelInstanceparentInstanceprivate final Stringpath
-
Constructor Summary
Constructors Constructor Description ViewModelInstanceSource.Reference(ViewModelInstance parentInstance, String path)
-
Method Summary
Modifier and Type Method Description final ViewModelInstancegetParentInstance()final StringgetPath()-
-
Constructor Detail
-
ViewModelInstanceSource.Reference
ViewModelInstanceSource.Reference(ViewModelInstance parentInstance, String path)
- Parameters:
parentInstance- The parent that contains the child.path- The path to the child instance.
-
-
Method Detail
-
getParentInstance
final ViewModelInstance getParentInstance()
-
-
-
-