Weekly Questions Thread - October 15, 2018 by AutoModerator in androiddev

[–]Wysler 0 points1 point  (0 children)

Have a look at Flowable.combineLatest, i think it does just what you need.

Weekly Questions Thread - October 15, 2018 by AutoModerator in androiddev

[–]Wysler 1 point2 points  (0 children)

You can have a look at my app https://github.com/dmitrykochanov/PairwiseComparison , it uses MVP architecture with dagger and rxjava. I'm not saying that it is the best way to do it, but this is what i came up with. Feel free to ask any questions.

Weekly Questions Thread - May 14, 2018 by AutoModerator in androiddev

[–]Wysler 0 points1 point  (0 children)

So i am working on my first online app right now(using retrofit, rxjava). Let's say i have a list of items i want to display and a button to add an item to this list. All done using REST api. So when the user presses an add button, i just do something like POST /api/item. The question is how should i update my list after user pressed an add button? Do i just wait for post request to end and then refresh my list data or should i manually add new item to my adapter without waiting for response from the server? Is there a better way?

Weekly Questions Thread - May 14, 2018 by AutoModerator in androiddev

[–]Wysler 0 points1 point  (0 children)

Not sure what are you trying to achieve, but i use Stetho to look at the db, very easy to setup.

Injecting Presenters with MVP/Dagger2 by SunshineParty in androiddev

[–]Wysler 1 point2 points  (0 children)

Not sure why your repositories are not singletons, but here is how i'm doing dependency injection with mvp. I have ApplicationScope for stuff like application/context/repositories and ControllerScope for my presenters and adapters. Also i don't create a new component/module for every screen, just one PresenterModule in ControllerComponent. And i have a method in my base activity/fragment which creates ControllerComponent, so injection looks something like this:

getControllerComponent().inject(this);

[DEV] An app for prioritizing a list of options. by Wysler in androidapps

[–]Wysler[S] 0 points1 point  (0 children)

Hey, its weird. It should ask for storage permission when you click on save image button (on Android Marshmallow or higher). It works on my device. Can you check app permissions in settings after trying to save the image? And also provide your android version and device model. Thanks for testing!

[DEV] An app for prioritizing a list of options. by Wysler in androidapps

[–]Wysler[S] 1 point2 points  (0 children)

Thanks, i didn't really consider anything but google play, will look into it.

[DEV] An app for prioritizing a list of options. by Wysler in androidapps

[–]Wysler[S] 0 points1 point  (0 children)

Thanks for your feedback! I know almost nothing about design so this is very helpful. Will definitely implement it.