Skip to content

Instantly share code, notes, and snippets.

@lukaspili
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaspili/b48f2c5614577d04f52b to your computer and use it in GitHub Desktop.
Save lukaspili/b48f2c5614577d04f52b to your computer and use it in GitHub Desktop.
public class SimpleActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
DataAccessComponent component = DemortarApp.getDemortarApp(this)
.getComponent();
Api api = component.api();
api.itWorks();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment