Hi
It is possible to contain all/many of the different "modes" of [B4X] [XUI] xCustomListView (expandable lists, pull to refresh, swipes etc) within one library (Class)?
Within one App I am currently able use the master lib as it is intended for one list, and if I want to use the expandable version in the same app I rename the class HERE (and I think needing to change some of code within it) and they can successfully work alongside each other
Advantages to me are:
1) don't have different versions of code in different places and therefore less likely to carry forward bugs (I note that the master XCLV is now at version 1.7+ whilst the expandable class is at 1.65 for example)
2) less maintenance
3) ease of use
I have no idea whether this is feasible, and suspect that it may be too complicated, hard work and/or risky, but I thought in my simplistic amateur head that for example introducing a "mode" for xlcv, in designer or class initialise it could be possible - then if mode zero it's a standard Xclv, mode 1 expanded version etc. Perhaps there is a better way.
Here are some of variants I use with links.
Standard xCustomListView
Expandable list
animated header
xCLVSwipe
floating titles
Claudio's xSelectableCustomListView
IndexedTable (not XUI)
DaniDPX IndexedTable with Custom List view (not XUI)
Thk for reading
D
It is possible to contain all/many of the different "modes" of [B4X] [XUI] xCustomListView (expandable lists, pull to refresh, swipes etc) within one library (Class)?
Within one App I am currently able use the master lib as it is intended for one list, and if I want to use the expandable version in the same app I rename the class HERE (and I think needing to change some of code within it) and they can successfully work alongside each other
Advantages to me are:
1) don't have different versions of code in different places and therefore less likely to carry forward bugs (I note that the master XCLV is now at version 1.7+ whilst the expandable class is at 1.65 for example)
2) less maintenance
3) ease of use
I have no idea whether this is feasible, and suspect that it may be too complicated, hard work and/or risky, but I thought in my simplistic amateur head that for example introducing a "mode" for xlcv, in designer or class initialise it could be possible - then if mode zero it's a standard Xclv, mode 1 expanded version etc. Perhaps there is a better way.
Here are some of variants I use with links.
Standard xCustomListView
Expandable list
animated header
xCLVSwipe
floating titles
Claudio's xSelectableCustomListView
IndexedTable (not XUI)
DaniDPX IndexedTable with Custom List view (not XUI)
Thk for reading
D