Giter VIP home page Giter VIP logo

instantsearch-android-examples's Introduction

InstantSearch Android: Examples

Example apps built with algolia/instantsearch-android v2.

InstantSearch Android is a library providing widgets and helpers to help you build the best instant-search experience on Android with Algolia. It is built on top of Algolia's Kotlin API Client to provide you a high-level solution to quickly build various search interfaces.

Widget Showcase

Have a look at our Widget Showcase to see each of our widgets in action.

instantsearch-android-examples's People

Contributors

aallam avatar plnech avatar q-litzler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

instantsearch-android-examples's Issues

Search is not working after swipe to refresh

I have a BottomNavigationView with 4 fragments. One of my fragment has been implemented with algolia’s instantsearch 2.0.3 using viewmodel and LivePagedListBuilder. I am using paging single index example from your example guide. Search view is not working after pulling new data from server. Please help, I have to meet deadline.

Steps to reproduce the behavior:
Search any word from search view, it will work as expected.
Add new data to back-end server and pull the swipe to refresh to load new data.
New data will be loaded.
Now search any word from search view, it will not work and it will not trigger any HTTP query.

Fragment viewmodel not loading new data on Fragment.newInstance()

Describe the bug πŸ›
I have a BottomNavigationView with 4 fragments. One of my fragment has been implemented with algolia's instantsearch 2.0.3 using viewmodel and LivePagedListBuilder. I am using paging single index example from your example guide. The searcher loads data correctly when app is opened for the first time, but when I increased the data(by adding new data to the server) suppose from 6 data to 7 data and reload the fragment by calling fragmentTransaction.replace(R.id.fragment_container, fragment); fragmentTransaction.commit(); then it doesn't loads the new set of data instead it still shows the older set of data i.e, 6 data only.

I have noticed one more issue:
I have use LoadingViewSwipeRefreshLayout to refresh the data but when I am pulling the refresh layout it updated the stats view with 6 to 7 hits but it doesn't refresh the pagedList with the new data.

To Reproduce πŸ”
Steps to reproduce the behavior:

  1. Add a new data to server and then reload the fragment.
  2. And add a new data to server and then pull the swipe refresh layout to load newly added data.

Expected behavior πŸ’­
It should reload the whole data when navigation to fragment by calling FragmentName.newInstance()

Screenshots πŸ–₯
If applicable, add screenshots to help explain your problem.

Environment:

  • OS: Android, version: Marshmallow

Additional context

Paging Single Index not showing any data

I have build and run the example code and implemented the getting started guide in my own project but its not showing any data in recycler view. In your example also its is not working. Please look into the issue.

Logo/Icon

Greetings, Im a graphics designer here on Github and I would like to ask for your permission to design for your logo/icon that you maybe used for your future plans in your project. I want to help open source projects by designing logos or banners for there project. Thank you for your time reading this

Best regards
-jbeguna04

Android Studio 3.1 Build Fails

Cloned then opened the Media project using Android Studio 3.1.

Gradle project sync fails with:

Unable to resolve dependency for ':custombackend@debug/compileClasspath': Could not resolve project :instantsearch.
Unable to resolve dependency for ':custombackend@debugUnitTest/compileClasspath': Could not resolve project :instantsearch.
Unable to resolve dependency for ':custombackend@release/compileClasspath': Could not resolve project :instantsearch.
Unable to resolve dependency for ':custombackend@releaseUnitTest/compileClasspath': Could not resolve project :instantsearch.```

Edit: Commit 0678b appears to be the source of the issue

Build failed

Hi,

I have same error for both projects:

Error:Execution failed for task ':ecommerce:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lorg/objectweb/asm/AnnotationVisitor;
Error:Execution failed for task ':media:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lorg/objectweb/asm/AnnotationVisitor;

What should I do to build it?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.