简体   繁体   English

Android EPG架构设计

[英]Android EPG architecture design

I an planning to design a EPG (electronic program guide ) in androids .please help me in designing the EPG. 我计划在机器人中设计一个EPG(电子节目指南)。请帮助我设计EPG。 Many ideas flowing through but before moving further want to finalize. 许多想法在流动之前但在进一步发展之前想要最终确定。 I want to design EPG as in the image 我想在图像中设计EPG EPG

Will I use List fragments or table layout or different layout like relative with specifying the layout weight or fully list view (customized list view ) any help is appreciated 我将使用List片段或表格布局或不同的布局,如相对指定布局权重或完整列表视图(自定义列表视图)任何帮助表示赞赏

Create custom ViewGroup that actually will be AdapterView. 创建实际将是AdapterView的自定义ViewGroup。 Write you own adapter interface that based on time and not on indexes. 编写自己的适配器接口,该接口基于时间而不是索引。 I have experience in writing epg component for android and custom components in general for android. 我有为android和自定义组件编写epg组件的经验。

I would prefer nested recyclerviews. 我更喜欢嵌套的recyclerviews。 You got one for vertical channels, another for horizontal timeline. 你有一个用于垂直通道,另一个用于水平时间线。 In the third one (epg) the viewholders also have horizontal recyclerviews which scrolling is synchronized with the timeline. 在第三个(epg)中,视图持有者还具有水平回收视图,其中滚动与时间线同步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM