sqlit dba access my user info in taxt view
hey i want set user data in next screen in perticuler textview when i search record by clicking button.....so how can i creat that code??? i have already creat data table in first activity....now i want set all data step by step in perticuler feild.
Manikandan MurugesanPosted Sep 1, 2017, 12:45 PM
and later you can use this code to get username in your drawer activity:
P.S. you should really really refactor your code. And use SharedPreferences instead of SQLite for storing single values. SQLite is designed to store massive data containers, like cached list data and so on.