I will share my diagram for the screen first.
Diagram of the screen
Each cell Pij represents a program scheduled for the channel Ci in the leftmost channel column which should scroll vertically with the grid. It also corresponds to timeline, horizontally scrolling list of timings (the topmost row). Cell width should be proportional to program's duration.
Ways i thought about
1) Trouble synchronizing scrolling in this way
There are some other variations I attempted, but nothing worked. There are similar question on stackoverflow but i have't found the solution. links of those question :
Scroll multiple recyclerviews on one recyclerview scroll
and
How to show EPG in Android?
I am not very confident about the method that I should develop for this problem.
I also thought about using webView and Html, looking into it.
So, please have a look and give me your important suggestion and guidance.
Thank you for your time.
Basically, you need to add textviews in horizontal rows. The length of the textview depends on the duration of the program. I have hosted a sample project on Github. Feel free to clone. https://github.com/xardox69/android_EPG
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With