toothpick.smoothie.provider.FragmentManagerProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smoothie Show documentation
Show all versions of smoothie Show documentation
'Toothpick package providing Android providers'
package toothpick.smoothie.provider;
import android.app.Activity;
import android.app.FragmentManager;
import javax.inject.Inject;
import javax.inject.Provider;
public class FragmentManagerProvider implements Provider {
Activity activity;
@Inject
public FragmentManagerProvider(Activity activity) {
this.activity = activity;
}
@Override
public FragmentManager get() {
return activity.getFragmentManager();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy