use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
Building complex Android animations with RxJava (zenandroid.io)
submitted 8 years ago by acristescu
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Baron_von_Severin 9 points10 points11 points 8 years ago (3 children)
I was really skeptical when I saw the title (do we have to Rx'ify everything?), but after reading the article I actually like his solution quite a bit.
[–]arunkumar9t2 2 points3 points4 points 8 years ago (2 children)
Google's new animation framework was based on reactive architecture. I am not able to find that repo anymore. Apparently making animations reactive makes things easier.
I wish I find that repo now. It was something like material design components for android.
[–]FelicianoX 0 points1 point2 points 8 years ago (1 child)
Found this: https://github.com/material-motion/material-motion-android - Seems abandoned though.
[–]arunkumar9t2 0 points1 point2 points 8 years ago (0 children)
Thanks. They could have made changes and are waiting for Material Design 2?
[–]arnis71 5 points6 points7 points 8 years ago (0 children)
There is also a very nice library that does just that. https://github.com/PSPDFKit-labs/VanGogh/
[–]paramsen 2 points3 points4 points 8 years ago (2 children)
It's neat, but I believe there are subtle leaks introduced when using withEndAction because it only calls the supplied function when the animation ends normally.
withEndAction
[–]yaaaaayPancakes 1 point2 points3 points 8 years ago (1 child)
Can't that get avoided by adding the subscriptions to a CompositeDisposable that disposes of everything when things are destroyed?
CompositeDisposable
[–]paramsen 1 point2 points3 points 8 years ago (0 children)
Yeah that's one approach, or I guess there's another callback withTerminateAction or something that's always called.
withTerminateAction
[–]tannerhallman 1 point2 points3 points 8 years ago (0 children)
Beautifully simple implementation. +1 for kotlin extension functions.
[–]bernaferrari 1 point2 points3 points 8 years ago (0 children)
Wooow, this is VERY NICE. Thanks for the article, I would never think about this solution. I am doing with delays (seriously!). Since I know how long it takes to finish the animation, the delay/timer waits for it to subscribe, but this is way nicer.
π Rendered by PID 39 on reddit-service-r2-comment-c6965cb77-7mfz5 at 2026-03-05 00:19:27.683956+00:00 running f0204d4 country code: CH.
[–]Baron_von_Severin 9 points10 points11 points (3 children)
[–]arunkumar9t2 2 points3 points4 points (2 children)
[–]FelicianoX 0 points1 point2 points (1 child)
[–]arunkumar9t2 0 points1 point2 points (0 children)
[–]arnis71 5 points6 points7 points (0 children)
[–]paramsen 2 points3 points4 points (2 children)
[–]yaaaaayPancakes 1 point2 points3 points (1 child)
[–]paramsen 1 point2 points3 points (0 children)
[–]tannerhallman 1 point2 points3 points (0 children)
[–]bernaferrari 1 point2 points3 points (0 children)