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