I am learning Android. I have a problem and I can\'t solve it. I want to retrieve data from an existing database and display it in a TextView after click button
TextView
You are using getData() method as void.
You can not return values from void.