io.palaima.debugdrawer.commons.BuildModule Java Examples
The following examples show how to use
io.palaima.debugdrawer.commons.BuildModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ActivityRepoList.java From AndroidStarter with Apache License 2.0 | 6 votes |
@Override protected void onCreate(final Bundle poSavedInstanceState) { super.onCreate(poSavedInstanceState); setContentView(R.layout.activity_repo_list); ApplicationAndroidStarter.sharedApplication().componentApplication().inject(this); ButterKnife.bind(this); if (mEnvironment.isDebugDrawerEnabled()) { mDebugDrawer = new DebugDrawer.Builder(this).modules( new FpsModule(Takt.stock(getApplication())), new ScalpelModule(this), new PicassoModule(mPicasso), new DeviceModule(this), new BuildModule(this), new NetworkModule(this), new SettingsModule(this) ).build(); } }
Example #2
Source File: ActivityMain.java From AndroidStarterAlt with Apache License 2.0 | 6 votes |
@Override protected void onCreate(final Bundle poSavedInstanceState) { super.onCreate(poSavedInstanceState); setContentView(R.layout.activity_main); ApplicationAndroidStarter.sharedApplication().componentApplication().inject(this); ButterKnife.bind(this); if (mEnvironment.isDebugDrawerEnabled()) { mDebugDrawer = new DebugDrawer.Builder(this).modules( new FpsModule(Takt.stock(getApplication())), new ScalpelModule(this), new PicassoModule(mPicasso), new DeviceModule(this), new BuildModule(this), new NetworkModule(this), new SettingsModule(this) ).build(); } mRouter = Conductor.attachRouter(this, mViewGroupContainer, poSavedInstanceState); if (!mRouter.hasRootController()) { mRouter.setRoot(RouterTransaction.with(new ControllerRepoList())); } }
Example #3
Source File: DebugSpectreApplication.java From quill with MIT License | 5 votes |
@Override public void addDebugDrawer(@NonNull Activity activity) { new DebugDrawer.Builder(activity).modules( new ScalpelModule(activity), new OkHttp3Module(mOkHttpClient), new PicassoModule(mPicasso), new DeviceModule(activity), new BuildModule(activity), new SettingsModule(activity) ).build(); }