Skip to content

Instantly share code, notes, and snippets.

@lacolaco
Created December 20, 2012 04:39
Show Gist options
  • Save lacolaco/4342996 to your computer and use it in GitHub Desktop.
Save lacolaco/4342996 to your computer and use it in GitHub Desktop.
public class MainActivity extends BindingActivity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
EventAggregator eventAggregator = EventAggregator.getInstance(this);
setAndBindRootView(R.layout.activity_main, new MainActivityModel());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment