N NamR Member Licensed User Jun 12, 2020 #1 Hi, I saw this very good xCustomListView library, CLVSwipe class that have "Swipe" (left) and Pull (to refresh) features. It is possible to have a Push Up action to add more items? Thank you. [B4X] CLVSwipe - xCustomListView Swipe actions and pull to refresh
Hi, I saw this very good xCustomListView library, CLVSwipe class that have "Swipe" (left) and Pull (to refresh) features. It is possible to have a Push Up action to add more items? Thank you. [B4X] CLVSwipe - xCustomListView Swipe actions and pull to refresh
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2020 #2 You can use the VisibleRangeChanged event to check how many items are left ahead and if the number is lower than X items, add more. A slightly complicated example that does this: https://www.b4x.com/android/forum/t...oss-platform-stream-of-photos.118486/#content Upvote 0
You can use the VisibleRangeChanged event to check how many items are left ahead and if the number is lower than X items, add more. A slightly complicated example that does this: https://www.b4x.com/android/forum/t...oss-platform-stream-of-photos.118486/#content
N NamR Member Licensed User Jun 12, 2020 #3 Erel said: You can use the VisibleRangeChanged event to check how many items are left ahead and if the number is lower than X items, add more. A slightly complicated example that does this: https://www.b4x.com/android/forum/t...oss-platform-stream-of-photos.118486/#content Click to expand... Hi Erel, Thank you again. The solution I made was to use the ReachEnd event. When the ReachEnd event activates, the apps will fetch more data into the server and add those into the list. I will also study your example; this is very good and helpful in some scenarios. Your help is very much appreciated. Cheers. Upvote 0
Erel said: You can use the VisibleRangeChanged event to check how many items are left ahead and if the number is lower than X items, add more. A slightly complicated example that does this: https://www.b4x.com/android/forum/t...oss-platform-stream-of-photos.118486/#content Click to expand... Hi Erel, Thank you again. The solution I made was to use the ReachEnd event. When the ReachEnd event activates, the apps will fetch more data into the server and add those into the list. I will also study your example; this is very good and helpful in some scenarios. Your help is very much appreciated. Cheers.