Comments (8)
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.
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.
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.
I think linking some examples would be a good middle ground.
from rxbinding.
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.
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.
from rxbinding.
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)
- Idea - Coroutine Support HOT 3
- androidx.appcompat.widget.SearchView support HOT 3
- Migrate to GitHub actions HOT 1
- Failed to resolve: com.jakewharton.rxbinding4:rxbinding:4.0.0 HOT 2
- I use RxView By Kotlin ,no find RxView but Java is ok. HOT 2
- How detect long press in Rxview .Touches HOT 1
- View click throttleFirst another way HOT 1
- RecyclerView can't use itemClicks HOT 1
- RxView.clicks needs tow clicks HOT 1
- throttleFirst way to avoid multiple clicks invalid when app first launched HOT 1
- Bug in comment for TextView.editorActions(handled: (Int) -> Boolean = AlwaysTrue)
- Getting java.lang.IllegalStateException: Expected to be called on the main thread but was RxCachedThreadScheduler HOT 1
- How to control BottomNavigationView.onNavigationItemSelected click switch fragment HOT 3
- Kotlin cannot recognize rxview, rxtextview HOT 2
- Version correspondence HOT 1
- RxView.clicks needs tow clicks
- Quest
- Observable textChanges() rxBinding4 HOT 2
- Run cb cmd command....qds
- Exception: No static method checkUiThread HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxbinding.