I am trying to display the table data from SQLite database onto the activity_main.XML. Everything went well. When I am trying to display the same table data onto a fragment of a tabbed activity, I am getting the errors.
I am new to the SQLite database and tabbed activity.
The three fragments are named fragment_one.xml,fragment_two.xml,fragment_three.xml.
I want the SQLite data to be displayed in fragment_two.XML.
The GitHub link for the source code is given below
Could you please help me to solve this issue.