B4A Library [Lib] UltimateListView

I've been working on this project for a long time and I'm very proud to release the version 4 today.

The UltimateListView is, as its pompous name says, THE ListView.

  • It can handle very long lists. This is a screenshot of a list with 245813 items, all different:

    verylonglist.jpg


  • It can mix different layouts (and they can be changed dynamically). You can use it as an expandable ListView:

    layouts.jpg


  • It has a low memory footprint and is very fast (this report comes from the Performance demo where the list has to display 128901 distinct words read from a database and the used device is a Huawei Honor single core 1.4 Ghz):

    performance.png


  • It can scroll in both directions thanks to its swipe detector:

    tables.jpg


  • The swipe detector can also be used to implement a swipe-to-dismiss or a swipe-to-reveal:

    swipedetector.png
  • You can easily add editors to your table to change its content:

    celledit.jpg


  • You can animate the items when they are added, removed, replaced or when the list is scrolled (with your own custom animation):

    animationclap.png


  • It can stack items from the bottom:

    stackfrombottom.png


  • It supports drag & drop operations (internal & external):

    dragndrop.png


  • You can synchronize lists with different item heights:

    grid.jpg
The examples will show you how to implement a Pull-to-Refresh, create sticky headers or combine several lists to make a wheel. One of the examples is an improved version of my File Explorer class.

All texts and images can be loaded asynchronously (from Internet, from a database or from a local folder), so you can scroll even if the data are not fully loaded.

The list has its own state manager.

Since September 2018, ULV is available for free. You can still donate for it if you wish.
To send the money, just click on the Donate button below (the amount to enter is in euros):


Note that UltimateListView is not a wrapper around the work of someone else. It is 100% my own code and it is based upon the standard Java ListView of Android.

The UltimateListView does not work with Android versions < 2. It cannot work with B4J or B4i.

Current version: 4.50

DOWNLOAD HERE:
 
Last edited:

incendio

Well-Known Member
Licensed User
Longtime User
I got an error when tried to run example Synchro_demo :

res\values-v20\theme.xml:3:error:Error retrieving parent for item:No resource found that matches the given name @android:style/Theme.Material

B4A 5.80, tried on Genymotion with Android ver 5.0
 

Anser

Well-Known Member
Licensed User
Longtime User
I got an error when tried to run example Synchro_demo :

res\values-v20\theme.xml:3:error:Error retrieving parent for item:No resource found that matches the given name @android:style/Theme.Material

B4A 5.80, tried on Genymotion with Android ver 5.0
It worked for me without any errors
B4A 5.80, Genymotion with Android 4.4.4
Haven't checked with Android 5.0
 

incendio

Well-Known Member
Licensed User
Longtime User
You need to use a more recent version of android.jar (Tools - Configure Paths).
It is point to this folder
C:\Program Files\adt-bundle-windows-x86_64-20131030\sdk\platforms\android-19\android.jar

What is the more recent version of android.jar?
 

incendio

Well-Known Member
Licensed User
Longtime User
You have to use at least Android 20 to compile. This is not related to the minimum SDK of your app. It's just needed to compile without errors due to the material styles introduced in ULV 4.10.
I have updated android.jar to ver 23, it works OK now, thanks.
 

b4auser1

Well-Known Member
Licensed User
Longtime User
If I put button views on CellPanel in the ULV, how I can intercept click events from the these Buttons ?
 

wizard699

Active Member
Licensed User
Longtime User
I've the same problem ... my button in ULV have Tag property .... but how can I intercept click on the specific button item?
 

cxdzbl

Active Member
Licensed User
I've been working on this project for a long time and I'm very proud to release the version 4 today.

The UltimateListView is, as its pompous name says, THE ListView.

  • It can handle very long lists. This is a screenshot of a list with 245813 items, all different:

    View attachment 18467

  • It can mix different layouts (and they can be changed dynamically). You can use it as an expandable ListView:

    View attachment 14357

  • It has a low memory footprint and is very fast (this report comes from the Performance demo where the list has to display 128901 distinct words read from a database and the used device is a Huawei Honor single core 1.4 Ghz):

    View attachment 21236

  • It can scroll in both directions thanks to its swipe detector:

    View attachment 14361

  • The swipe detector can also be used to implement a swipe-to-dismiss or a swipe-to-reveal:

    View attachment 21240
The examples will show you how to implement a Pull-to-Refresh, create sticky headers or combine several lists to make a wheel. One of the examples is an improved version of my File Explorer class.

All texts and images can be loaded asynchronously (from Internet, from a database or from a local folder), so you can scroll even if the data are not fully loaded.

The list has its own state manager.

Due to the important work made, I request a minimum donation amount of 25 euros.

To send the money, just click on the Donate button below (the amount to enter is in euros).

What you'll get:
- the main library and all the libraries required by the examples;
- a complete User's Guide;
- a detailed list of all functions, events and properties;
- a tutorial;
- 16 examples with a few useful and reusable classes.

Note that UltimateListView is not a wrapper around the work of someone else. It is 100% my own code and it is based upon the standard Java ListView of Android.

You can download here the list of all functions and properties, and the table of contents of the user's guide.

With my catalog, you can try all examples of this library.

The UltimateListView does not work with Android versions < 2. It cannot work with B4J or B4i.

Current version: 4.10

Bonus : the DataCollection library is available for free with UltimateListView.


WHEN DONATING, PLEASE INDICATE CLEARLY IN THE PAYPAL FORM THAT YOU DONATE FOR ULV TO AVOID ANY CONFUSION WITH MY OTHER LIBRARIES.
Prompt information for donation:
Some information is incorrect or missing. Please correct the content you have entered, and then try again.
Your credit card or debit card number is invalid or incomplete. Please check the content you have entered, and then try again.
‘----------------------
I checked, I enter the card number is correct.
What is the requirement of the input card number? A friend from China
 
Last edited:
Top