private Bitmap loading;
loading = ImageUtil.decodeResourceID(this, R.drawable.icon);
holder.image.setImageBitmap(loading);
View.OnClickListener click = new View.OnClickListener(){
public void onClick(View v) {
switch(v.getId()){
case R.id.btnLeft:
finish();
break;
case R.id.btnSubmit:
View btnFavorite = findViewById(R.id.btnFavorite);
btnFavorite.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
FavoriteActivity.show(HomeActivity.this);
}
});
View btnUpload = findViewById(R.id.btnUpload);
btnUpload.setOnClickListener(onUploadClickListener);
private OnClickListener onUploadClickListener = new OnClickListener(){
public void onClick(View v) {