FrontendAndroidViewModel
abstract class FrontendAndroidViewModel<P : AnyPanel>(panel: P, application: Application) : FrontendViewModel<P>
A combination of FrontendViewModel and AndroidViewModel. Should only be used when the Application instance is really required. This should be rare however, as ViewModels should not normally rely on a context. Instead, the layout should resolve raw information from the ViewModel using its own context.
Types
Link copied to clipboard
A factory class for constructing class instances that derive from FrontendAndroidViewModel with the given panel and the given application instance.