Displaying List after button click
I am developing an android application.I have a search bar where i put searc开发者_如何学运维h string and using search string entered after clicking search button,i fetch values from database(SQLite) and display in list.
What i want to do is i want to display list below search bar only after search button is clicked.How should i do this.?Please look in to this.
Implement an OnClickListener
for the search button.
In the onClick
method change the visibility settings of the listView to VISIBLE
精彩评论