Back to project page u2020.
The source code is released under:
Apache License
If you think the Android project u2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jakewharton.u2020.ui; // w w w . ja va 2s .co m import android.app.Activity; import android.view.ViewGroup; import static butterknife.ButterKnife.findById; /** An indirection which allows controlling the root container used for each activity. */ public interface AppContainer { /** The root {@link android.view.ViewGroup} into which the activity should place its contents. */ ViewGroup get(Activity activity); /** An {@link AppContainer} which returns the normal activity content view. */ AppContainer DEFAULT = new AppContainer() { @Override public ViewGroup get(Activity activity) { return findById(activity, android.R.id.content); } }; }