Comments (3)
I'm sorry, lazy loading is not a supported feature.
I assume, that when you load the new items, it will recreate the recyclerviews, or fill them with new items, so the focus will be lost and regained, jumping to the beginning.
from android-tv-program-guide.
I see, thank you, I made some changes which kind of give me this behaviour, but I have some focus issues. Do you possibly have any ideas in which area should I concentrate, regarding the mentioned issues such as: focus sometimes skipping element in the row, or sometimes not being able to move the focus downwards unless I move it a couple of times in random direction (I think perhaps the focusSearch or findNextFocusedProgram might be responsible). Can you tell me a bit more why those methods were needed or what use case required them to be added?
from android-tv-program-guide.
If you enable view layout debugging in the developer options, you can see the current focus with a big X on it, that can help, maybe some other component catches the focus when the items are removed.
But that means that the current items are removed, so maybe you should look at some different behavior, like implementing DiffUtil on the RecyclerViews and ensuring that existing items are kept.
from android-tv-program-guide.
Related Issues (20)
- Unable to parse DateTime HOT 7
- not able to refresh data with new schedule list HOT 2
- current program view not updating currectly HOT 2
- How to Set time to 12 hour Format HOT 1
- Channel Image Focusable HOT 1
- Program cell behind the channel bar is getting focused. HOT 6
- Date field is not updating immediately on scroll of programs HOT 2
- How to use an XMLTV url with the code HOT 1
- Java implementation needed HOT 3
- Api to have 24-hour rolling window in grid view starting from previous half hour HOT 11
- Left Most Focus Issue HOT 4
- Help On Updating Large Amount Of Epg Data HOT 1
- autoScrollToBestProgramme/focusCurrentProgram don't always focus correctly on the corrent program
- Android TV Program Guide HOT 4
- Jetpack compose HOT 2
- Need help with timeline and line LIVE HOT 1
- Endless EPG HOT 12
- While Video Length is Larger then It skipping the Row and focused changed to 3rd row. HOT 1
- Scroll issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-tv-program-guide.