Android Question xCustomListView

Johan Schoeman

Expert
Licensed User
Longtime User
Please advise

How many items can at maximum be added to a xCustomListView before it will generate the following error:

xCustomListView Error:
java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (List).

If I add less items then it seems to run without a problem. Not using lazy loading. Just a hard xCustomListView. 50 seems to be OK. Somewhere between 50 and 300 it causes the above error. Have not fiddled around to see what is the max I can push it to. Maybe someone has done this before and established the max....?

Rgds

JS
 

Johan Schoeman

Expert
Licensed User
Longtime User
That depends on your phone, as well as the size and complexity of your items.
That is also what I have sort of seen. Not too much of an issue as I can split it into one than more app and each handling the appropriate section. The bundle consists of about 65 apps each addressing a specific requirement. Why 65? Can run more than one simultaneously as long as what I put a brake on the nuber of xCLV items in each app. When done it creates a csv file, a PDF report, and a MS Word report. Was just hoping to squeeze as much ad possible into a single app within the bundle. Sold it to a company that seems to be have been desperate for something like it. At a reasonably good price but using them as a springboard to refine it that will make is more useful for hopefully 100's of companies 😀
 
Upvote 0
Top