Android Tutorial Large & Searchable List with SearchView + B4XSerializator

Discussion in 'Tutorials & Examples' started by Erel, Dec 31, 2015.

  1. Erel

    Erel Administrator Staff Member Licensed User

    You need to provide more information. What is not working properly? Is it slow?
     
  2. Roberto P.

    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
     
  3. Erel

    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.
     
  4. Roberto P.

    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.
     
  5. Anser

    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.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    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.

    There is nothing special about this. You can get the items from wherever you like. Please start a new thread for this.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice