1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-25 01:20:34 +00:00
NewPipe/app
Alexander-- 381b491845 Prevent foocus from escaping open navigation drawer
When contents of NewPipe navigation drawer change, NavigationMenuView
(which is actually a RecyclerView) removes and re-adds all its adapter
children, which leads to temporary loss of focus on currently focused drawer
child. This situation was not anticipated by developers of original
support library DrawerLayout: while NavigationMenuView itself is able
to keep focus from escaping via onRequestFocusInDescendants(),
the implementation of that method in DrawerLayout does not pass focus
to previously focused View. In fact it does not pass focus correctly at all
because the AOSP implementation of that method does not call addFocusables()
and simply focuses the first available VISIBLE View, without regard
to state of drawers.
2020-03-15 09:37:29 +06:59
..
schemas/org.schabi.newpipe.database.AppDatabase Implement feed groups manual sorting 2020-03-14 00:12:45 -03:00
src Prevent foocus from escaping open navigation drawer 2020-03-15 09:37:29 +06:59
.gitignore Update app/.gitignore 2020-02-19 17:40:03 +01:00
build.gradle Merge pull request #2309 from mauriciocolli/feed 2020-03-14 18:15:57 +01:00
proguard-rules.pro Show parsed relative times instead of whatever the service gives us 2019-11-17 23:58:55 -03:00