Skip to content

Instantly share code, notes, and snippets.

@EmmanuelGuther
Last active January 24, 2020 13:32
Show Gist options
  • Select an option

  • Save EmmanuelGuther/bc6cfeb45667f7797f843cef60364907 to your computer and use it in GitHub Desktop.

Select an option

Save EmmanuelGuther/bc6cfeb45667f7797f843cef60364907 to your computer and use it in GitHub Desktop.
companion object {
var callbackLoadMore: ((Int) -> Unit)? = null
var callbackLikeClick: ((Promotion) -> Unit)? = null
fun forPage(callbackLoadMore: (Int) -> Unit, callbackLikeClick: (Promotion) -> Unit): ShowcasePageOneFragment {
this.callbackLoadMore = callbackLoadMore
this.callbackLikeClick = callbackLikeClick
return ShowcasePageOneFragment()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment