Best Practices for Handling Search

前端 未结 3 790
旧时难觅i
旧时难觅i 2021-02-13 07:10

I\'ve got a SearchView setup, and I have a loosely decoupled architecture using Retrofit and Otto.

I am wondering what the

3条回答
  •  时光说笑
    2021-02-13 07:22

    • first you have to make the column as index which is search attribute.
    • you have to store only that column on sqlite database.Its used to select options from your table when search is made by users.
    • then you call api for search result, after the word selected in search bar.

提交回复
热议问题