Android Live Q&A Ep. 8 - wiseAss
Welcome to the blog post for Android Live Q&A Episode 8. If appropriate/when I have time, I’ll update notes, important links, and so forth to this page.
Topics by Timestamp
0:00 - Announcements: I won’t be able to talk about new APIs (Room, LiveData, etc…) until July. I plan to soon though!
I’m currently writing an Introductory Ebook on the basics of Architecting and Writing Android Apps
3:20 - “Life is what happens to you while you’re busy making other plans”
The balance of doing what you need to do, vs what you’d like to do
5:20 - Shout out to my first to Patrons; Thank you for supporting me!
-Susheel Chanda -Shadow
My approach and experience building an App which uses Clean Architecture Principles with MVP + Dagger 2 for D.I., and whether to Inject Presenters into Fragments or Activities
9:00 - Part 1: High Level Overview of my Architecture w/ Diagram
14:43 - Part 2: Based on Responsibilities, where does it make sense to Inject Presenters into; Activities or Fragments?
23:20 - Part 3: Based on Implementation (the Code itself, and the Frameworks/APIs in front of us), how does my PosTrainer actually use MVP + Dagger 2? How does these implementaiton details actually effect where I inject my Presenters?
36:36 - (w/ Comment from Slyfer :)) What does setRetainInstance(true) do to a Fragment, and how might that factor into where we should Inject our Presenters?
39:00 - What does setRetainInstance(true) actually do to a Fragment, with a fairly simple explanation
48:10 - Since our Fragment Instances can be ‘retained’ Activity Recreation events, doesn’t it make more sense to keep the Presenter in the Fragment instead?
There’s no easy answer here
56:05 - What does Ryan do for a living, and why does he have grease burns on his arm today? Why isn’t Ryan working as an Android Developer instead?
Robert C. Martin (Uncle Bob) - https://sites.google.com/site/unclebobconsultingllc/\
Martin Fowler - https://martinfowler.com/