Last active
August 23, 2018 11:21
-
-
Save GauravChaddha1996/8a2e759b0ec062cf01978b6a3307450a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyActivity { | |
@Override | |
public void onCreate() { | |
Context context = this.getApplicationContext(); | |
MyDatabase db = new MyDatabase(context); | |
MyPresenter presenter = new MyPresenter(db); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment