Created
September 22, 2015 21:05
-
-
Save orhanobut/ddf011d6a12a67abed76 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
public class AccountActivity extends Activity { | |
ImageHelper imageHelper; | |
@Override public void onCreate(Bundle bundle){ | |
... | |
imageHelper.onCreate(bundle); | |
} | |
@Override public void onDestroy() { | |
imageHelper.onDestroy(); | |
... | |
} | |
public void onGaleryClicked() { | |
imageHelper.showGalery(); | |
} | |
public void onUploadClicked() { | |
imageHelper.takePhoto(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment