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:

Informatix

Expert
Licensed User
Longtime User
I love THE Listview.
Is it possible tot search or filter the listview?
Do you mean UltimateListView? Or the standard B4A ListView?
ULV is different from the standard B4a Listview. It is not a data container, but a data viewer with a flexible adapter, so searching and filtering are done by your code. ULV doesn't care if your data come from a list, an array, a database, a file... If you change the order of your records in a DB table, for example, you just call RefreshContent and ULV shows the items with the new order.
 

Hajzenberg

Member
Licensed User
Longtime User
Hello,
Is it possible to get same visual results like in your ClsCustomGallery, but without out of memory exception?
Regards.
 

Hajzenberg

Member
Licensed User
Longtime User
Got the ULV, I am impressed. Really beautiful peace of work.
You wrote that I can have similar results like ClsCustomGallery but only in vertical effect. OK, but how to achieve to have more than one picture in a row (not like classical listview, but just like vertically scrollable Gallery - for example grid of 3 pictures in a row?)
 

Informatix

Expert
Licensed User
Longtime User
Got the ULV, I am impressed. Really beautiful peace of work.
You wrote that I can have similar results like ClsCustomGallery but only in vertical effect. OK, but how to achieve to have more than one picture in a row (not like classical listview, but just like vertically scrollable Gallery - for example grid of 3 pictures in a row?)
You use a row layout (see AddRowLayout) and you put each image in a cell, or you place many imageviews in the same item.
 

maleche

Active Member
Licensed User
Longtime User
Is there documentation to download and read the features of your app?
Thanks!
 

jcesar

Active Member
Licensed User
Longtime User
Informatix

I'm using ULV to show images from a website, it's possible save this images in the memory card or in the device storage ?

I need save this images bacause i wish to share in social networks.

Regards
 

Informatix

Expert
Licensed User
Longtime User
Informatix

I'm using ULV to show images from a website, it's possible save this images in the memory card or in the device storage ?

I need save this images bacause i wish to share in social networks.
It depends on the method you use to download these images and on the ULV settings. If you use LoadImageAsync and a disk cache, then the images are in the cache; you can list them with GetDiskCacheList and duplicate them elsewhere (or load a copy in memory with RetrieveBitmapFromCache).
 

Informatix

Expert
Licensed User
Longtime User
Hi Informatix!
Can ULV automatic zoom itself and its items? i need to handle some hundred row layouts... if i have to provide different layouts for different zoom levels... i can go out of mind! ... if ULV cannot zoom... can you provide a method to do it, please?

thanks in advance...
No, there's no zoom function with a smart reordering of items. For this, you don't need to create different layouts in advance; they can be created automatically at runtime depending on your zoom factor (look at my Variable demo).
 

javlik

Member
Licensed User
Longtime User
Hi,
I would really like to donate you the well-deserved €25 but my Paypal account seems to be limited and I cannot use it anymore - for the reason that I linked my account to another one, they informed me.
Now, my question is: Is there another way (beside Paypal) to buy your lib?
Jiri
 
Top