Skip to content

Instantly share code, notes, and snippets.

@illuzor

illuzor/GalleryFragment,kt Secret

Created Sep 22, 2018
Embed
What would you like to do?
LOADED -> {
showContent()
adapter.addItems(model.data)
adapter.setOnclickListener { filename ->
val intent = Intent(context, WallpaperActivity::class.java)
intent.putExtra("filename", filename)
intent.putExtra("category", category)
startActivity(intent)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment