Adam S

Waterloo, Canada

speakman.net.nz

Age: 27

Android Developer from New Zealand, recently moved to Waterloo in Ontario.

You can find me on Twitter at @adamsnz or Google+.

1d
answered Fragments contents overlap each other
1d
comment Null on CompositionSubscription in Fragment?
Looks like you'd be seeing an NPE inside the RxAndroid library if rxBus.toObservable() was returning null, therefore it appears likely that rxBus is null at that time.
1d
comment Null on CompositionSubscription in Fragment?
rxBus is null, or bindFragment is returning null (which might be the default if you supply it a null observable from rxBus.toObservable).
Feb
26
comment RxJava in trading engine
What is your question? I think you're wondering how to build a "bot controller" that will subscribe to N observables, then take all available results after T time, do something with them, and then pass that on?
Feb
25
reviewed Approve suggested edit on Listview using JSON from RESTApi Android
Feb
24
comment Android - Call backspace without firing onTextChanged
Have you tried setting the text directly? Something like textView.setText(text.substring(0, length - 1)).
Feb
23
asked What stops me from using dependencies of dependencies in an Android app?
Feb
22
revised How to create a release signed apk file using Gradle?
The readPassword method returns a char array, yet storePassword/keyPassword variables are strings. Have to create a new string to assign to them.
Feb
22
comment Theming Dialog on API 21 (Lollipop) Android
You should post this as an answer!
Feb
17
awarded Yearling
Feb
17
awarded Yearling
Feb
16
comment how do I make an rx demultiplexor?
You'll have to give an example of what you're after.
Feb
14
answered Looking back in the chain in RxJava
Feb
10
comment RxJava + retrofit, get a List and add extra info for each item
I like this solution, and the step-by-step is nice too.
Feb
9
comment How to parse time without timezone conversation?
What do you mean 'subtracts the timezone'? That code looks correct for handling date-times. I notice that the time in the comment is 10 hours before the parsed time, not 11 - however it looks like October 25 is when DST changes, which would explain that.
Feb
5
revised RxJava + retrofit, get a List and add extra info for each item
added 532 characters in body
Feb
5
answered RxJava + retrofit, get a List and add extra info for each item
Feb
5
comment RxJava + retrofit, get a List and add extra info for each item
Just dropping in here but why not .flatMap() the Delivery into ETA (so you iterate over the output in reactive style), and then toList() at the end so that the final output is an observable publishing a list of ETAs?
Feb
4
comment OnCompleted calls not tidy
toSortedList appears to do what you desire.
Feb
4
comment Android - Compressing bitmap very slow on one phone, quick on the other
Huh, I didn't realise that - guess I missed that in the docs! Sorry that the debugger thing didn't work, it's an experience I've had in the past.
1 2 3 4 5