在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):TakeoffAndroid/MaterialDialogSearchView开源软件地址(OpenSource Url):https://github.com/TakeoffAndroid/MaterialDialogSearchView开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):MaterialDialogSearchViewMaterialDialogSearchView is a custom implementation of a Toolbar SearchView in a material design. It is an alternate approach using Material dialogs as SearchView similar to the applications seen on nowadays with this type of SearchView's in the apps like Google play, Google card's,etc. What made me to do this repo?This repo is truely made on the inspiration of Google play's SearchView and StackOverflow question of mine http://stackoverflow.com/questions/30521615/implementing-google-play-and-maps-like-search-bar-android How to use?Regarding the usage, it is simple to go without using any third party libraries. The class files used in this repo is limited to MainActivity.javaThis is the main class and it comprises of Custom dialog and then several logics to filter out the users suggestion in EditText. SearchAdapter.javaIt is nothing but a adapter class extends BaseAdapter which in turn used to display the list items (i.e Country's Text and icon used in this repo) in a ListView. Utils.javaIt is an Utility class which is used to adjust the height of ListView based on the count of child items. SharedPreference.javaSharedPrefernce class is used to store and retrieve recently searched values (i.e selected or clicked values from the suggestions list.)
LicensingAbout licensing it is free to go. You can do whatever you want with this code. I really appreciate all of your feedbacks and pull requests to improve this repo. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论