Iholder master-detail type of data
See original GitHub issueEdit to the original:
If I split things up in different item types / viewholders its easy to display, but i wonder how I could show and handle it as one single entity later. e.g. If possible I would like to have 1 cardview type of presentation whet the main alarm info is visible with all its alarms conditions. when i select the alarm it should visually select the whole cardview (although the items are currenctly managed in better viewholders in conjunction with Iholder. Any ideas to make this happen?
---- original
Hi, is was wondering if there was a “native” way of supporting Parent-child type of data directly via the IHolder interface or do we need to split up the data in the correct type before we feed it to the adapter, in order for every item to get its correct type etc.
Small example:
IHolder<Alarm>
with Alarm holding general data as well as a List<AlarmConditions>
of which Alarmconditions could be different types.
Thanks for your library and efforts.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Ok going over everything and re-reading I see your point. I will try to implement. Thank you.
No. documentation and demoApp are clears: 1 layout 1 item type.