Note that there are some explanatory texts on larger screens.

plurals
  1. PO3 level expandable list view with swipe feature
    primarykey
    data
    text
    <p>I am creating 3 level expandable list with swipe functionality at 3rd level.</p> <p>I am facing an issue with swiping feature at 3rd level swipelistview, when caching is used.</p> <p>For swiping, I am using "47deg/android-swipelistview" <a href="https://github.com/47deg/android-swipelistview/" rel="nofollow">https://github.com/47deg/android-swipelistview/</a> library. For creating 3 level expandable list, I used code from <a href="http://mylifewithandroid.blogspot.in/2011/02/3-level-expandable-lists.html" rel="nofollow">http://mylifewithandroid.blogspot.in/2011/02/3-level-expandable-lists.html</a>. I used cache concept at 3 places: 1. 2nd level expandable list, 2. 3rd level swipelistview 3. swipelistview nodes. This way, it gave good performance while scrolling/expanding/collapsing the expandable list.</p> <p>But at that time, swiping functionality stop working. If I stop using cache at swipelistview node level (inside getview() function of adapter of swipelistview), swiping feature works properly.</p> <p>My question is, if I create new view everytime at getview() of swipelistview class or reuse convertedview, swiping feature continues to work. But if I create node first time only for every child and next time on the getview request, I sent already prepared node, why swiping feature stops working.</p> <p>P.S. When I say, swiping feature stops working, GUI is not updated properly.</p> <p>I have sample project available with me, in case anyone needs it. or if anyone requires specific portion of the code, I can also provide the same.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload