I am working on an Android application.In my main activity i have to implement a list.The following is the sample shape of my page
|----------------------| \
| |Button| | \
|----------------------| \
|listview row1 | \ \
|listview row1 | \ \---------Screen
|listview row1 | / --/----- ListView
| |/ /
| | /
| | /
|______________________|/
The button is in my activity page and listview rows are creating in baseadapter.Listview is containing a textview.Now I have to change the Textviews background color when I click the button from activity and next time I click the button the textviews color will retain the old color.How can I do it friends?. I declared textview in getview() method.
At last I got the solution.It may helpful to others.But I am not about the quality of my code.
step 1)
I craete variable in my activity
And in the hide buttons on click method I write this
Step 2)
The following is my BaseAdapter class getView()
Thank you friends For yours help.