Comments (1)
Hi David, I kind of agree with you that presenter methods should be named differently using callback-like name.
However, there is cases where the presenters have to perform an action that hasn't necessarily been triggered by the user. For example, when the activity is created the presenter has to load and present some data. Do you think is better to have a separate method in the presenter like loadData()
and call that from Activity.onCreate()
, or simply triggering that initial call from the attach(MvpView view)
method in the Presenter?
from archi.
Related Issues (20)
- how about fragment in mvp HOT 3
- MVVM Replace namespace android:visibility with app:visibility
- MainActivityBinding class?
- Discussion: Android Native Frameworks & Tools Review
- Should test sources depend on android framework?(app-mvp)
- missinng ItemRepoPresenter
- notifyDataSetChanged() and RepositoryAdapter.setRepositories() HOT 2
- Navigation in mvvm HOT 3
- Missing databinding HOT 1
- MVVM: List of repositories is lost when the screen is rotated HOT 1
- [Question] Strange way to get reference the Application
- View and Model are not completely separated.
- Why don't you use AutoValue instead of Manually Overriding Methods in Model Calss
- Error loading from repository
- MVVM - store Picasso custom target in a field
- MainActivityBinding is missing HOT 1
- Repository is not loaded, keyboard is not shown HOT 7
- Activity/Fragment in Android MVVM with data binding HOT 1
- how could i use your test package? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archi.