It may cause multiple loadProducts calls if you need to call it only when fragment is created.
Ferhat Parmak
1

I would prefer using a flag :

public void onCreate(){
initialised=false;
// …
}
public void onCreateView() {
if(!initialised){
presenter.loadProducts();
// flag should reset when we get the data from the presenter
}
}
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.