Android / Architecture

Modeling my presentation layer

After modeling my domain layer here it comes, modeling my presentation layer. The reason for this post is that I saw in many projects that are moving from a legacy codebase to an MVP approach that there are some issues trying to differentiate what belongs to the presentation layer and what belongs to the UI …

Android / Architecture

New implementation of Interactor Invoker

The interactors are the part of the business logic that follows the command pattern, one example implementation in Java is, for example, the ThreadPoolExecutor and the Runnables. The ThreadPoolExecutor is the invoker that executes the runnable (command). When we are using Interactors in our clean approach we are following the command pattern, so I’ve wrapped …

Android / Architecture

New weapons against the bus

Hi, today I gave a talk in Droidcon Spain about Clean architecture, quite similar to the Salamanca but with some fixes and improvements over this implementation. Now I don’t use a bus for this architecture anymore and I reduced the boilerplate.

New implementation of Interactor Invoker

The new implementation of the invoker is based on Futures and …

Android / Architecture

Clean Android without bus

A lot of people are wondering why use a bus in my Clean Android implementation (Clean-Contacts repo on GitHub). And the reply is simple: I need to to get the reply of a previously launched interactor in a new instance of a presenter because on a rotation change the presenter is destroyed also the view, …

Android

My way to clean Android

¡Hola desde Salamanca! He sido invitado como ponente al Android Day que organiza el GDG de Salamanca. He preparado una ponencia sobre clean architecture en Android que me gustaría compartir con vosotros. Las slides están accesibles en Slideshare, el video de la charla en: Youtube y por último y no menos importante el código de …

Android / Architecture

VIPER hangout

El pasado Miércoles 28 estuvimos hablando por hangouts on air Alberto Moraga, Pedro Piñera y yo sobre VIPER y en general arquitectura, os dejo las preguntas que se hicieron contestadas y el video del evento.

¿Qué beneficios habéis visto con este tipo de arquitectura?

Poder testar todas tus capas, independientemente de sus dependencias
Que tengas claro en todo …