com.github.rtyley.android.sherlock.roboguice.fragment.RoboSherlockDialogFragment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roboguice-sherlock Show documentation
Show all versions of roboguice-sherlock Show documentation
RoboGuice classes extending ActionBarSherlock classes
package com.github.rtyley.android.sherlock.roboguice.fragment;
import roboguice.RoboGuice;
import android.os.Bundle;
import android.view.View;
import com.actionbarsherlock.app.SherlockDialogFragment;
public abstract class RoboSherlockDialogFragment extends SherlockDialogFragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
RoboGuice.getInjector(getActivity()).injectMembersWithoutViews(this);
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
RoboGuice.getInjector(getActivity()).injectViewMembers(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy