开发者

Displaying List after button click

开发者 https://www.devze.com 2023-03-30 09:20 出处:网络
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)

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

精彩评论

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