Made repository focusable on FireStick 💀

This commit is contained in:
Blatzar 2022-09-13 19:50:25 +02:00
parent 4f8f5024cb
commit 4385d4d2cc
2 changed files with 3 additions and 1 deletions

View file

@ -76,7 +76,7 @@ class RepoAdapter(
imageClickCallback(repositoryData) imageClickCallback(repositoryData)
} }
itemView.setOnClickListener { itemView.repository_item_root?.setOnClickListener {
clickCallback(repositoryData) clickCallback(repositoryData)
} }
itemView.main_text?.text = repositoryData.name itemView.main_text?.text = repositoryData.name

View file

@ -8,6 +8,8 @@
android:background="@drawable/outline_drawable" android:background="@drawable/outline_drawable"
android:nextFocusRight="@id/action_button" android:nextFocusRight="@id/action_button"
android:orientation="horizontal" android:orientation="horizontal"
android:clickable="true"
android:focusable="true"
android:padding="12dp"> android:padding="12dp">
<ImageView <ImageView