I am trying to retrieve the data from mysql and sort it based on the category tab. My application crash when i open the activity with content view not yet created. May I know wh
You can avoid crash by using check
if(this.isAdded())
if you debug that part BooksFragment.getListView int the moment of exception - you will notice it's not exist.