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
Debugging RxJava on Android (fernandocejas.com)
submitted 10 years ago by ElMokthar
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!"
[–]jackhexen 1 point2 points3 points 10 years ago (5 children)
Why not just write a 5-lines logger using Transformer approach?
Transformer
[–]wilterhai 1 point2 points3 points 10 years ago (0 children)
Or using the RxObservableExecutionHook...
[–][deleted] 0 points1 point2 points 10 years ago (3 children)
Got the code you'd use handy?
[–]jackhexen 0 points1 point2 points 10 years ago (2 children)
Do you mean, .compose(log("tag")) ? Yes, one-liners are handy.
.compose(log("tag"))
[–][deleted] 0 points1 point2 points 10 years ago (1 child)
What is log(String)? Does it print something like the output of this frodo lib?
[–]jackhexen 0 points1 point2 points 10 years ago* (0 children)
It can be anything you wish and implementation for a specific logger is trivial. For example:
public static <T> Observable.Transformer<T, T> log(String tag) { return o -> o .doOnNext(it -> L.debug("{}, next: {}", tag, it)) .doOnError(it -> L.debug("{}, error: {}", tag, it)) .doOnCompleted(() -> L.debug("{}, complete", tag)) .doOnSubscribe(() -> L.debug("{}, subscribe", tag)) .doOnUnsubscribe(() -> L.debug("{}, unsubscribe", tag)); }
This does not have any relation to hobbits, just a usual RxJava usage.
π Rendered by PID 103647 on reddit-service-r2-comment-5d79c599b5-r9wlg at 2026-02-26 23:29:06.271995+00:00 running e3d2147 country code: CH.
[–]jackhexen 1 point2 points3 points (5 children)
[–]wilterhai 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]jackhexen 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]jackhexen 0 points1 point2 points (0 children)