Android Tutorial Large & Searchable List with SearchView + B4XSerializator

Erel

Administrator
Staff member
Licensed User
You need to provide more information. What is not working properly? Is it slow?
 

Roberto P.

Well-Known Member
Licensed User
1 -When you select an item also returns a number and goes a mistake.
2- I would like to implement the asynchronous mode to avoid slowdowns when data is loaded

Then I wanted to ask if it is correct to use the object in this way or is it better to use it only in combination with B4XSerializator.

Thanks so much
 

Erel

Administrator
Staff member
Licensed User
For the solution discussed in this tutorial to work, you must use the B4J program to build the index. Once it is built you can store it in two files or in a database.
 

Roberto P.

Well-Known Member
Licensed User
I can not use the B4J tool at runtime! I want to avoid creating a file for each object SearchView. I have several in my application.
 

Anser

Well-Known Member
Licensed User
I am also looking for a SearchView solution which can retrieve data from a remote Database via jRDC, display the contents and return the ID of the selected item. For eg Product Name will be displayed and Product_ID of the selected item should be returned.

Because of this limitation, now I am using a Spinner instead of a SearchView.
 

Erel

Administrator
Staff member
Licensed User
I can not use the B4J tool at runtime! I want to avoid creating a file for each object SearchView. I have several in my application.
You need to understand how this solution works. The whole idea of this example is to demonstrate how you can prebuild the index to avoid doing it at runtime. Use the regular SearchView instead.

I am also looking for a SearchView solution which can retrieve data from a remote Database via jRDC
There is nothing special about this. You can get the items from wherever you like. Please start a new thread for this.
 
Top