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:

jayel

Active Member
Licensed User
Longtime User
There's a new version available. It requires B4A v5.80.

Changelog:
- UltimateListView can be added as a custom view in the designer;
- I fixed a minor bug in ClsExplorerForULV.bas;
- I added a "assets:" tag to LoadImageAsync to load images from the assets;
- I added the DeleteAllStateFiles function;
- I added the Parent property;
- I added the SynchronizePositionWith function and a demo that shows its usefulness;
- I added 12 new styles for SetStyle (still using system drawables);
- I udpated the manifest of examples and fixed a few style issues.


I paid 25 euros some time ago, why didn't I get an update.

Greets

John
 

MarcoRome

Expert
Licensed User
Longtime User
I would like to buy your library ultimatelistview, how can I do?
is simple.... click about "Donate" button as in this picture:
upload_2016-8-28_22-55-59.png


insert in donation your email ( in notes ) et voila ...Fred send you this fantastic library
 

roberto64

Active Member
Licensed User
Longtime User
1) Support is only provided by email.
2) Add a checkbox and manage its state with a list of booleans. It's a very basic question, or I don't understand it.
hi Informatix, donating UltimateListView and free or 25,00 euro?
 

Devv

Active Member
Licensed User
Longtime User
After buying the library..
i found it very useful with tons of features plus documentation and examples
the price is a bit high but totally worth it.

Great library and very friendly author
 

Informatix

Expert
Licensed User
Longtime User
There's a new version available.

v4.11:
- I fixed a bug when PNG files are loaded from assets with LoadImageAsync;
- I fixed a bug with the cache size when the ULV is initialized via LoadLayout;
- I added a workaround for the InterruptedIOException that occurs for unknown reason under Android version 5+ with LoadImageAsync (the task is restarted if the image is still required).
 

Haris Hafeez

Active Member
Licensed User
Longtime User
Hello All,

Just starting off with UltimateListView and have run into somewhat strange problems:

  • I modified the Gallery_demo sample so that the activity 'Assets' starts in portrait instead of landscape (done in manifest). I get a strange flickering behaviour on my device (Nexus 5X - Android now updated to 7 but issue was there with 6 as well). This happens when I click on a row to reveal the expanded item. Additionally, not all images are loaded from the assets folder with some rows displaying an error message. This works in the emulator though the layout code that places the expanded image below the main row item (using OriginalHeight) does not work when used in portrait and the image gets shown after a lot of space given to padding.
  • In debug mode, the emulator and device both do not work and just shows the error image with a lot of flickering, which looks like it is redrawing the entire list. I can see FileNotFoundException. Is there a different way to access assets in debug now? But what about the massive flickering?

Will appreciate any tip and advice.

Haris.
 

Haris Hafeez

Active Member
Licensed User
Longtime User
Just tried the latest version and the first issue has been resolved. In release, it works as expected. Still have the issue with debug mode: can't load images from assets and the entire list flickers while displaying the error image.
 
Top