Skip to content

Instantly share code, notes, and snippets.

@lukaspili
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save lukaspili/b48f2c5614577d04f52b to your computer and use it in GitHub Desktop.

Select an option

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