Efficient way to connect to an external DB [closed]

1

I am creating an application on Android. I have a TextAutoCompleteView .

What will be better in performance for the application?

  • Bring a JSON with the query that I need to the database and upload it to a list, to then compare it with the TextAutoCompleteView (the query can bring 2000 Records)

  • Create a web services, with a LIKE statement, and this is consumed every time I put a letter in the TextAutoCompleteView, and show me the matches.

  • asked by AndreyC1995 11.02.2018 в 18:19
    source

    0 answers