Refactoring an Android App – #12 – Full Standalone MVP Example (Easy)

In this video I go over a fresh example of an activity that’s been implemented with its view handling business logic and no presenter involved, and I turn it into a full MVP implementation with the presenter handling all the business logic and only when necessary calling the view whenever needed.

————————————————————————————————————-

Welcome to Dry Code! This channel provides programming tutorials, specifically about Android app development. We make weekly videos, they’re structured in student/mentor style. We pick (or you suggest) a topic related to Android app development or programming in general, we try to explain the concepts behind the topic and then we attempt an experienced implementation of them.

I’m Oday, I started this channel, I’ve been doing mobile for 4 years, Android for 3. My partner Rakesh has over 15 years of experience as a software developer and has been doing Android for 5 years. He’s in the UK and I’m in Lebanon. We work, communicate, make videos and have actually met online.

“Snipit” is the Android app whose code we primarily work on in our longest-running series “Refactoring an Android App”. All you need to know about this app and its code can be found here: https://github.com/Odaym/Snipit

Refactoring an Android App – #11 – Multiple Dagger Modules

In this video we continue the Dagger implementation and create one other module for Dagger to use, plus Injecting some fields and breaking a whole lot of tests!

Email me at dry.culture@gmail.com with your Android UI ideas (PSD’s or screenshots) so that maybe I could code them live on this channel in a small fun series!

————————————————————————————————————-

Welcome to Dry Code! This channel provides programming tutorials, specifically about Android app development. We make weekly videos, they’re structured in student/mentor style. We pick (or you suggest) a topic related to Android app development or programming in general, we try to explain the concepts behind the topic and then we attempt an experienced implementation of them.

I’m Oday, I started this channel, I’ve been doing mobile for 4 years, Android for 3. My partner Rakesh has over 15 years of experience as a software developer and has been doing Android for 5 years. He’s in the UK and I’m in Lebanon. We work, communicate, make videos and have actually met online.

“Snipit” is the Android app whose code we primarily work on in our longest-running series “Refactoring an Android App”. All you need to know about this app and its code can be found here: https://github.com/Odaym/Snipit

Channel: Dry Code
Published: 2017-03-21 21:11:23
Duration: 24M41S
Views: 286
Likes: 9
Favorites: 0

Refactoring an Android App – #5 – Introduction to RxJava (revisited)

In this episode we Rakesh introduces us to RxJava and we work on implementing it right into our MVP architecture and have our existing tests pass given this new implementation.
Channel: Dry Code
Published: 2017-02-11 23:36:30
Duration: 1H4M21S
Views: 1485
Likes: 34
Favorites: 0

Refactoring an Android App – #3 – Introducing Mockito

In this episode we introduce the Mockito mocking library for Android and modify our existing tests to work with Mockito along with several optimisations to the tests themselves.

Find more about Mockito here: https://github.com/mockito/mockito

Find more about the app we’re using here (Snipit) here: https://play.google.com/store/apps/details?id=com.om.snipit

Thanks for watching!

Channel: Dry Code
Published: 2017-02-01 08:48:26
Duration: 55M59S
Views: 1671
Likes: 49
Favorites: 0

Refactoring an Android App – #4 – MVP Testing continued (Exceptions)

In this episode we continue to test our Presenter that we’ve created for our first Activity, only this time we handle a third case when an exception is thrown from anywhere while dealing with getting our objects from the database.

Please watch this much longer and more in-depth video about Mockito by Jereon Mols: https://www.youtube.com/watch?v=DJDBl0vURD4

If you would like to know more about the app we’re working with, you can find it here: https://play.google.com/store/apps/details?id=com.om.snipit

Thanks for watching!

Channel: Dry Code
Published: 2017-02-06 08:23:43
Duration: 47M53S
Views: 1039
Likes: 33
Favorites: 0

Refactoring an Android App – #2 – Presenter Implementation continued

In this video we finish up the implementation of the Presenter we created for our first Activity, along with all the hookup necessary for it to start serving as a real Presenter (books repository and the view).

We grab real books from the database and feed them into the real Activity, replicating the exact behavior that the activity had before we implemented our MVP code.

Find more about the app we’re working with (Snipit) here: https://play.google.com/store/apps/details?id=com.om.snipit

Channel: Dry Code
Published: 2017-01-31 17:44:11
Duration: 55M57S
Views: 1821
Likes: 50
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *