Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @OmegaActivity
- public class ExampleActivity extends Activity {
- @OmegaExtra("key")
- String text
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- ...
- AppOmegaIntentBuilder.inject(this);
- TextView textView = (TextView) findViewById(R.id.textview);
- textView.setText(text);
- }
- }
- AppOmegaIntentBuilder.from(this)
- .appActivity()
- .exampleActivity()
- .key("Your text here")
- .createIntentHandler()
- .startActivity();
Add Comment
Please, Sign In to add comment