I know this is very basic question, but I need to know, how I can display the contents of a variable on the screen.
Do I use a textview in my layout?
I have
If you have a list on the screen , then to not lose the list and still show change use , taking @Matt's example.
TextView textView = (TextView) findViewById(R.id.textViewName); textView.setText("text you want to display");
It worked for me.