| | |
| | | fragment_home_bottom_visitor_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE +item.getImagePath()));
|
| | | } else {
|
| | | if (item.getBitmap() != null) {
|
| | | fragment_home_bottom_visitor_cell_photo.setImageBitmap(item.getBitmap());
|
| | | fragment_home_bottom_visitor_cell_photo.setImageBitmap(BitmapUtil.getRoundedCornerBitmap(item.getBitmap(),
|
| | | (int)MainActivity.getInstance().getResources().getDimension(R.dimen.w10dp)));
|
| | | } else {
|
| | | fragment_home_bottom_visitor_cell_photo.setImageResource(R.drawable.u45);
|
| | | }
|
| | |
| | | fragment_home_bottom_attendance_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE +item.getImagePath()));
|
| | | } else {
|
| | | if (item.getBitmap() != null) {
|
| | | fragment_home_bottom_attendance_cell_photo.setImageBitmap(item.getBitmap());
|
| | | fragment_home_bottom_attendance_cell_photo.setImageBitmap(
|
| | | BitmapUtil.getRoundedCornerBitmap(item.getBitmap(),
|
| | | (int)MainActivity.getInstance().getResources().getDimension(R.dimen.w10dp))
|
| | | );
|
| | | } else {
|
| | | fragment_home_bottom_attendance_cell_photo.setImageResource(R.drawable.u45);
|
| | | }
|