package nucleus.view;
import android.os.Bundle;
import android.support.v4.app.Fragment;
<BUG>import nucleus.factory.RequiresPresenter;</BUG>
import nucleus.factory.PresenterFactory;
import nucleus.factory.ReflectionPresenterFactory;
import nucleus.presenter.Presenter;
public class NucleusSupportFragment<PresenterType extends Presenter> extends Fragment {
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
<BUG>helper.requestPresenter(getPresenterFactory(), bundle == null ? null : bundle.getBundle(PRESENTER_STATE_KEY));
}</BUG>
@Override

package nucleus.view;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import nucleus.factory.PresenterFactory;
import nucleus.factory.ReflectionPresenterFactory;
import nucleus.presenter.Presenter;
public class NucleusSupportFragment<PresenterType extends Presenter> extends Fragment {
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
if (bundle != null)
helper.setPresenterState(bundle.getBundle(PRESENTER_STATE_KEY));
}
@Override
