开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜