Created
March 14, 2017 09:07
-
-
Save NeedPainkiller/8c8a76c38d24e6df757168dfec13ba4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class PermissionActivity$$IntentBuilder { | |
| private Intent intent; | |
| private Bundler bundler = Bundler.create(); | |
| public PermissionActivity$$IntentBuilder(Context context) { | |
| intent = new Intent(context, PermissionActivity.class); | |
| } | |
| public PermissionActivity$$IntentBuilder.AllSet content(PermissionContent content) { | |
| bundler.put("content",(android.os.Parcelable) content); | |
| return new PermissionActivity$$IntentBuilder.AllSet(); | |
| } | |
| public class AllSet { | |
| public Intent build() { | |
| intent.putExtras(bundler.get()); | |
| return intent; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment