Skip to content

Instantly share code, notes, and snippets.

@sangcomz
Last active November 10, 2015 02:10
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 sangcomz/794523dfa75beaf81c8a to your computer and use it in GitHub Desktop.
Save sangcomz/794523dfa75beaf81c8a to your computer and use it in GitHub Desktop.
protected void onActivityResult(int requestCode, int resultCode,
Intent imageData) {
super.onActivityResult(requestCode, resultCode, imageData);
switch (requestCode) {
case Define.ALBUM_REQUEST_CODE:
if (resultCode == RESULT_OK) {
path = imageData.getStringArrayListExtra(Define.INTENT_PATH);
mainAdapter.changePath(path);
break;
}
}
}
FishBun.with(MainActivity.this).setPickerCount(12).setArrayPaths(path).startAlbum();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment