android-tv
Android TV RecyclerView focus interaction
For a regular RecyclerView, I had to specify: android:descendantFocusability=”beforeDescendants” And also android:nextFocusDown=”@+id/recyclerviewId” is set to send focus to RV itself. The only solution I see is a key listener to select item to position currentPosition + spancount.
getLaunchIntentForPackage is null for some apps
Since Android 11 there is a behavior change that some apps will not provide this info unless you add queries tag to the AndroidManifest like <queries> <package android:name=”app.i.want.to.query” /> </queries> Refer here for more info
How do I use tools:overrideLibrary in a build.gradle file?
Open Android Studio -> Open Manifest File add <uses-sdk tools:overrideLibrary=”android.support.v17.leanback”/> don’t forget to include xmlns:tools=”http://schemas.android.com/tools” too, before the <application> tag