예제 #1
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (resultCode == RESULT_CODE) {
     Bitmap bitmap = data.getParcelableExtra("bitmap_result");
     if (bitmap != null) {
       mRivAvator.setImageBitmap(bitmap);
     }
   }
 }
예제 #2
0
 @Override
 protected void initData() {
   mRivAvator.setImageResource(R.drawable.img_head_boy1);
 }