Skip to content

Instantly share code, notes, and snippets.

@NeedPainkiller
Last active March 7, 2017 04:26
Show Gist options
  • Save NeedPainkiller/ff495873f493e965467ae70ba2bc6278 to your computer and use it in GitHub Desktop.
Save NeedPainkiller/ff495873f493e965467ae70ba2bc6278 to your computer and use it in GitHub Desktop.
public class PermissionActivity extends AppCompatActivity {
@InjectExtra PermissionContent content;
@Nullable @InjectExtra String tag = "TAG";
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Dart.inject(this);
Bundle bundle = getIntent().getExtras();
PermissionContent content = Dart.get(bundle, "key");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment