简体   繁体   中英

Eureka - Custom Inline Row

I am trying to write a custom inline row using Eureka but I couldn't do it by following the documentation in the Github page of the library.

Also I copy-pasted this answer but it throws a segmentation error . I also tried searching for tutorials on the internet to follow but there is none.

Can someone clearly and basically explain how can I do this?

See if this is the place you want to look into

Also, are you using this library just to do a collapsible cell? You can do that by yourself and that is really not hard & a lot of code to implement. Check out this exmaple . All you need is to define child cells and parent cells in a section and reload it with animation!

I know it's a long tutorial. You can probably skip the top half, and start reading from Expanding and Collapsing section. The basic idea is, a collapsible cell and the collapsed cell are within a section, and you have a variable per section of cells to remember if the section is expanded or not. When clicked on the first cell of the section, if it's already expanded, reduce the cell count to one and do a reload to this section using animation Fade . and vice versa. This Fade animation will produce the animation you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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