Although I’ve not used the new architecture component yet, but from what I learned by attending a talk regarding them, the presenter is essentially doing the same job as the view model. Like view model, it doesn’t get destroyed in rotation and is the one which holds the data that the view is showing. I’m using loader API to maintain single presenter between rotation and the new architecture uses ViewModelProviders to do the same. I maybe wrong here but this is my current understanding of all the facts I know.

Software Engineer @Zomato. Passionate about tech, music, movies, gaming, coffee and food! Find my writing at https://www.chaddha.me/

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