Giter Site home page Giter Site logo

Comments (8)

ZacSweers avatar ZacSweers commented on June 2, 2024 1

I could put together an example of the classic debounced search query in a gist. I've done it enough times in apps that I should probably just pull it out.

Are you looking for full app examples or also gists and articles? The only concern with external examples though is that they can/will eventually get out of date.

from rxbinding.

ZacSweers avatar ZacSweers commented on June 2, 2024

A good example for edittext is username inputs when creating/editing an account. Take the text changes and pipe them right into a nice rx chain to validate and check availability. Loose mobile psuedocode below

watch for text changes
debounce/throttle so they have time to finish typing
filter out invalid usernames
flatmap network request to check username availability
observer's onError and onNext indicate the result to the user

We do it in our app, and it's always one of my go-to examples whenever I show someone how we use rxjava. A similar example could be auto complete filling where the text is first sent to the server and items are returned.

from rxbinding.

JakeWharton avatar JakeWharton commented on June 2, 2024

Not sure this is still useful because it doesn't have a strong scope. Maybe we just list a few open source apps which are using this library? I also really don't like that approach since people will make PRs wanting to add every and any app which might not actually be using this library well.

from rxbinding.

ZacSweers avatar ZacSweers commented on June 2, 2024

I think linking some examples would be a good middle ground.

from rxbinding.

JakeWharton avatar JakeWharton commented on June 2, 2024

Yep. I don't know any other than @f2prateek's Bee. Anyone know more?

On Thu, Feb 18, 2016 at 10:27 PM Zac Sweers [email protected]
wrote:

I think linking some examples would be a good middle ground.


Reply to this email directly or view it on GitHub
#92 (comment)
.

from rxbinding.

feresr avatar feresr commented on June 2, 2024

It would be great to have basic sample on how to integrate RxBindings with common architectures (MVP, MVVM) or how to use with the new arch components

from rxbinding.

JakeWharton avatar JakeWharton commented on June 2, 2024

from rxbinding.

RobLewis avatar RobLewis commented on June 2, 2024

I'm fairly lost as to how to even start thinking about this. Need a couple of examples to crack open the wall of ignorance. (I'm familiar with RxJava but not in this context.)

from rxbinding.

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.