sqlite - android reloading data from server makes duplicates -
i working on app , when try update of information user personal information call user information service once again updated data instead of updated data shows me old data. shows me updated data when logout app , sign in again, because @ logout delete table values , @ sign in fetches new values server. don't know happens please me in solving problem. here how saving data db comes server dbhandler class public boolean saveuserdata(contentvalues values , string tablename) { sqlitedatabase database = databasehundler.open(); try{ if(database != null) { if (values!= null) { database.insertwithonconflict(tablename, basecolumns._id, values, sqlitedatabase.conflict_replace); } return true; } }catch(exception e){} return false; } edit and tables class code public void insertdata(contentvalues values) { controller.hundle...