Add hiyobi image booster

This commit is contained in:
tom5079
2019-05-13 12:56:39 +09:00
parent cbb52f3dc9
commit 2bf0f86510
9 changed files with 89 additions and 28 deletions

View File

@@ -176,9 +176,10 @@ class MainActivity : AppCompatActivity() {
private fun setupRecyclerView() {
with(main_recyclerview) {
adapter = GalleryBlockAdapter(galleries).apply {
setClickListener {
setClickListener { galleryID, title ->
val intent = Intent(this@MainActivity, GalleryActivity::class.java)
intent.putExtra("GALLERY_ID", it)
intent.putExtra("GALLERY_ID", galleryID)
intent.putExtra("GALLERY_TITLE", title)
//TODO: Maybe sprinke some transitions will be nice :D
startActivity(intent)