Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save NeedPainkiller/8c8a76c38d24e6df757168dfec13ba4c to your computer and use it in GitHub Desktop.

Select an option

Save NeedPainkiller/8c8a76c38d24e6df757168dfec13ba4c to your computer and use it in GitHub Desktop.
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