DocsPageViewModel
class DocsPageViewModel(@Assisted pageId: String, bundleLoader: DocBundleLoader, translationService: DocTranslationService, dispatchers: CoroutineDispatchers) : ViewModel(source)
Loads one docs page for a locale: a bundled Crowdin file first, then English, then runtime translation.
Constructors
Link copied to clipboard
constructor(@Assisted pageId: String, bundleLoader: DocBundleLoader, translationService: DocTranslationService, dispatchers: CoroutineDispatchers)