{"id":22042263,"url":"https://github.com/zirouan/searchliveo","last_synced_at":"2025-05-08T01:21:39.295Z","repository":{"id":35616563,"uuid":"39890199","full_name":"zirouan/searchliveo","owner":"zirouan","description":"Library SearchView material design","archived":false,"fork":false,"pushed_at":"2018-04-12T13:37:14.000Z","size":956,"stargazers_count":82,"open_issues_count":0,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T16:09:53.486Z","etag":null,"topics":["library-searchview-material","search","search-view-animation","search-whatsapp","searchable","searchanimation","searchbar","searchview","toolbar-search-view"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zirouan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-29T11:37:30.000Z","updated_at":"2024-02-17T02:46:26.000Z","dependencies_parsed_at":"2022-09-18T23:40:37.353Z","dependency_job_id":null,"html_url":"https://github.com/zirouan/searchliveo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zirouan%2Fsearchliveo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zirouan%2Fsearchliveo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zirouan%2Fsearchliveo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zirouan%2Fsearchliveo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zirouan","download_url":"https://codeload.github.com/zirouan/searchliveo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979492,"owners_count":21835062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library-searchview-material","search","search-view-animation","search-whatsapp","searchable","searchanimation","searchbar","searchview","toolbar-search-view"],"created_at":"2024-11-30T12:11:37.720Z","updated_at":"2025-05-08T01:21:39.267Z","avatar_url":"https://github.com/zirouan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SearchLiveo [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SearchLiveo-blue.svg?style=flat)](https://android-arsenal.com/details/1/6841)\u0026nbsp;[![](https://jitpack.io/v/rudsonlive/searchliveo.svg)](https://jitpack.io/#rudsonlive/searchliveo)\u0026nbsp;[![API](https://img.shields.io/badge/API-18%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=18)\n\n\u003cbr\u003e\nLibrary SearchView material design\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://github.com/rudsonlive/SearchView-MaterialDesign/blob/master/Screenshot/SearchLiveo.png\"\u003e\n\u003ca href=\"https://play.google.com/store/apps/details?id=br.com.liveo.searchview_materialdesign\" target=\"_blank\"\u003e\n  \u003cimg alt=\"Android app on Google Play\"\n       src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\u003cbr\u003e\n\n# Requirements\nIt requires 18+ API and android support v7 27.1.0 (AppCompatActivity + Toolbar)\n\n# Gradle\n\u003cb\u003eStep 1\u003c/b\u003e - Add the JitPack repository to your root build.gradle file\n```gradle\nallprojects {\n  repositories {\n    ...\n    maven { url 'https://jitpack.io' }\n  }\n}\n```\n\u003cb\u003eStep 2\u003c/b\u003e - Add the dependencies:\n\n```gradle\ndependencies {\n  implementation 'com.github.rudsonlive:searchliveo:1.1.2'\n}\n```\n\n# Quick Start\n\n\u003cb\u003eStep 1\u003c/b\u003e - Add SearchLiveo to your layout\n```xml\n    \u003cAppBarLayout...\n\n        \u003cFrameLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\u003e\n\n            \u003cToolbar.../\u003e\n\n            \u003cbr.com.liveo.searchliveo.SearchLiveo\n                android:id=\"@+id/search_liveo\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\" /\u003e\n        \u003c/FrameLayout\u003e\n\n    \u003c/AppBarLayout\u003e\n```\n\u003cb\u003eStep 2\u003c/b\u003e - Implementing the listener\n```java\n  implements SearchLiveo.OnSearchListener\n  \n  @Override\n  public void changedSearch(CharSequence text) {}\n```\n\u003cb\u003eStep 3\u003c/b\u003e - Add to my activity\n```java\n  mSearchLiveo = findViewById(R.id.search_liveo);\n  mSearchLiveo.with(this).build();\n```\n\u003cb\u003eStep 4\u003c/b\u003e - SearchLiveo show\n```java\n  mSearchLiveo.show();  \n```\n\u003cb\u003eStep 5\u003c/b\u003e - If you need to know when SearchLiveo is closed\n```java\n  mSearchLiveo.with(this).\n    hideSearch(new SearchLiveo.OnHideSearchListener() {\n        @Override\n        public void hideSearch() {}\n    }).\n  build();\n```\n\u003cb\u003eStep 6\u003c/b\u003e - If you enable voice search, use this.\n```java\n  @Override\n  protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n      super.onActivityResult(requestCode, resultCode, data);\n      if (data != null) {\n          if (requestCode == SearchLiveo.REQUEST_CODE_SPEECH_INPUT) {\n              mBinding.searchLiveo.resultVoice(requestCode, resultCode, data);\n          }\n      }\n  }\n```\n# License\n```\nCopyright 2018 Rudson Lima\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzirouan%2Fsearchliveo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzirouan%2Fsearchliveo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzirouan%2Fsearchliveo/lists"}