Image for post
Image for post

One of the most important questions which arise in my head when working with RecyclerViews (or any other adapter views for that matter) in passive view approach is how to handle accessing data.

Most of the times people tend to create a Collection (let it be a List) field within the adapter, holding all the data that it needs to display. …


Image for post
Image for post

Each time I work on a project that incorporates the MVP pattern in some way I always get my head arround the issue what goes where. As we all know a good programmer is the one who can propose good separation of concerns, so the code is readable and understandable by anyone.

Should I put it in presenter or the activity? Where should I manipulate this data that comes from our REST API?

(by the way, be sure to check out the post about mocking REST api responses)

Those are the most common questions I ask myself all the time…


Image for post
Image for post

Some time ago I had an opportunity to work on a project that utilized a REST API in Android app (No big deal, right?). The API unfortunately had only a basic implementation and there wasn’t any test environment endpoint, so the only place I could work on was the production endpoint. If there is a red light turning on inside your head right now — good, the same thing happened to me. …

Andrzej Chmielewski

Android Developer. Big fan of good quality software and UX. https://appflate.io/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store