https://github.com/marknjunge/instantsearch-android
A sample project showing how to implement instant searching on Android
https://github.com/marknjunge/instantsearch-android
android android-application instant-search kotlin kotlin-android rxandroid rxjava search
Last synced: about 1 month ago
JSON representation
A sample project showing how to implement instant searching on Android
- Host: GitHub
- URL: https://github.com/marknjunge/instantsearch-android
- Owner: MarkNjunge
- License: other
- Created: 2017-12-21T10:25:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T10:26:46.000Z (over 8 years ago)
- Last Synced: 2025-04-09T13:19:47.623Z (about 1 year ago)
- Topics: android, android-application, instant-search, kotlin, kotlin-android, rxandroid, rxjava, search
- Language: Kotlin
- Size: 332 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Instant Search on Android
A sample project showing how to implement instant searching on Android.
This sample uses Algolia but that can be changed to any other data storage by modifying
[SearchHelper.kt](/app/src/main/java/com/marknkamau/realtimesearch/SearchHelper.kt)
## How to
You will **need** to add `ALGOLIA_APPLICATION_ID` and `API_KEY` to gradle.properties. You can find these in the algolia dashboard.
If you want to use the data set I used:
* Import the data in [sample-data.json](sample-data.json) to your Algolia account.
If you want to use your own data set:
* Import you data set to algolia
* Modify [Models.kt](/app/src/main/java/com/marknkamau/realtimesearch/models.kt),
[DataAdapter.kt](/app/src/main/java/com/marknkamau/realtimesearch/DataAdapter.kt) and
[item_data.xml](/app/src/main/res/layout/item_data.xml) to fit you data