Querying a database in Android causes duplicated data?
-
27-10-2019 - |
Pergunta
I have an activity which has a database query and it brings back 300 records from the query. Now I move to another activity and make changes in the same database. Now when I return back to the first activity and refresh the database by making the same query, I get 600 records.
Can anyone please suggest where I am going wrong?
Solução
Seems that the issue wouldn't be with the Queries made by me, rather its dependent on the UI rendering pattern i have been following, the question has been put again for Harism Thanks again everyone, helps everytime i am here, cheers!!
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow