Esempio n. 1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_album);
   initData();
   findViewById();
   initUI();
   setListener();
 }
Esempio n. 2
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (requestCode == 5) {
     if (resultCode == 2) {
       finish();
     }
   }
   super.onActivityResult(requestCode, resultCode, data);
 }