Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
What are you doing in my Github?

Yahor egorikftp

😃
What are you doing in my Github?
View GitHub Profile
View CustomNavigator.kt
open class CustomNavigator(
activity: FragmentActivity?,
containerId: Int
) : SupportAppNavigator(activity, containerId) {
override fun createActivityIntent(context: Context?, screenKey: String?, data: Any?): Intent? {
return (data as? Screen)?.let { createActivityIntent(context, it) }
}
override fun createFragment(screenKey: String?, data: Any?): Fragment? {