Skip to content

Instantly share code, notes, and snippets.

@albodelu
Forked from sanogueralorenzo/PostsNavigation.kt
Created November 16, 2019 11:56
Show Gist options
  • Save albodelu/97e4f4b0e9fe8dd168599379ff97c452 to your computer and use it in GitHub Desktop.
Save albodelu/97e4f4b0e9fe8dd168599379ff97c452 to your computer and use it in GitHub Desktop.
object PostsNavigation : DynamicFeature {
override fun start(c: Context): Intent? =
loadClassOrNull<Activity>("com.sanogueralorenzo.posts.presentation.postlist.PostListActivity")
?.let { Intent(c, it) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment