GithubHelp home page GithubHelp logo

Comments (4)

PLNech avatar PLNech commented on May 26, 2024 1

@baniyaz: release 1.9.0 ships this fix along with some new features :)

from instantsearch-android.

PLNech avatar PLNech commented on May 26, 2024

Hi @baniyaz, thanks for your report!

Indeed you should not need to use databound views for the Hits widget to work. I opened a PR with a fix resolving your issue, I'll let you know as soon as it's released.

I'm curious, why didn't you use the data binding views in the first place? Are there limitations in the current approach that prevented you to leverage it even for the most simple attributes?
Your feedback will help us improve this mechanism 🙂

from instantsearch-android.

baniyaz avatar baniyaz commented on May 26, 2024

Hello PLNech , Thank you for opening a PR so quickly.

I had to make some changes and checks on the data coming in before showing it in all my views.

One example - I add a base_url for image paths but I can't use a prefix as the value of the prefix changes at runtime. My other views had similar constraints.

The data binding did work like a charm when I tried it though.

from instantsearch-android.

PLNech avatar PLNech commented on May 26, 2024

Hey, you're welcome 🙂

Thanks for the feedback, that makes total sense! It's exactly for these kind of use-cases we have the AlgoliaHitView mechanism in place.

We are about to release the fix, I'll update you here with the new version!

from instantsearch-android.

Related Issues (20)

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.