expandable

ViewPager with expandable child

两盒软妹~` 提交于 2019-11-29 00:24:45
I'm trying to create collapsable calendar. I'm using custom calendarView in ViewPager, so when expand/collapse button pressed my calendarView animate collapsing all calendar weeks except only one. Goal is to swipe month when expanded (which works as i want) and swipe weeks when collapsed. Below calendarView is ListView with some events, when user collapse calendar - listView height must change. Problem is when i trying to collapse calendarView in ViewPager, he doesn't change height. calendarView is a LinearLayout with child views, when it is not in ViewPager, it animating and changing size. I

Android:one button id,many buttons, one view id, using getTag(),setTag()

こ雲淡風輕ζ 提交于 2019-11-28 11:38:29
问题 I am able to display all or selective number of records using getAllRecords() and getRecord(long id). The thing is i want to display a different record for each view button on my expandable list child.each child has a view button attached to it.the group position is known.(1st group). but the child position seems impossible to track down. i have just one resource id. how am i supposed to display different records for each child then? please help as this confuses me to the core. here's the

Expandable Sections UITableView IndexPath SWIFT

有些话、适合烂在心里 提交于 2019-11-27 08:01:10
问题 Im pretty new to coding, I only know Swift. I have found several tutorials to produce drop down sections in a table. Basically it will represent a TV show, the headers will be the seasons and the drop down list of episodes from each season. I managed to get this working perfectly for what I want from https://github.com/fawazbabu/Accordion_Menu This all looks good, however I need to be able to select from the drop down items. I have added didSelectRowAtIndexPath with just a simple print of the