Sqlite class to get count on mainactivity.java

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 4

Apr 24, 2018 11:39:46 AM via Website

Please whats wrong with my code to get count from the database in DBHelper.java

{
DBHelper db = new DBHelper(ProfileActivity.this);
long ui = fdb.getAllFollow().size();
Toast.makeText("ctx, ui , Toast.....).show;
}

Reply