novoda / bonfire-firebase-sample

An app to discuss your favourite emojis. This is a sample app built with Firebase.

Home Page:https://novoda.com/blog/bonfire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Presenter with Fragments

linxydmhg opened this issue · comments

Hello, this is not a issue but a question:

This sample shows how to use a presenter with a activity and a custom view inflating a layout. How would this be implemented in the case where fragments are needed e.g. a navigation drawer?

Would you implement the MasterActivity as normal and have it create Fragments, and then have the fragments create a presenter and inflate a CustomView? Or would you not use fragments at all and just use the custom views and let them create the presenter/be the displayer?

Closing as this repository is no longer under maintenance and it's about to be archived