comment out unused stuff

This commit is contained in:
Austin Huang 2021-05-18 16:43:22 -04:00
parent d5e75d16c3
commit 5c0598502a
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -1,26 +1,26 @@
package awais.instagrabber.adapters.viewholder;
import android.view.View;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.facebook.drawee.view.SimpleDraweeView;
import awais.instagrabber.R;
public final class DiscoverViewHolder extends RecyclerView.ViewHolder {
public final SimpleDraweeView postImage;
public final ImageView typeIcon;
public final View selectedView;
// public final View progressView;
public DiscoverViewHolder(@NonNull final View itemView) {
super(itemView);
typeIcon = itemView.findViewById(R.id.typeIcon);
postImage = itemView.findViewById(R.id.postImage);
selectedView = itemView.findViewById(R.id.selectedView);
// progressView = itemView.findViewById(R.id.progressView);
}
}
//package awais.instagrabber.adapters.viewholder;
//
//import android.view.View;
//import android.widget.ImageView;
//
//import androidx.annotation.NonNull;
//import androidx.recyclerview.widget.RecyclerView;
//
//import com.facebook.drawee.view.SimpleDraweeView;
//
//import awais.instagrabber.R;
//
//public final class DiscoverViewHolder extends RecyclerView.ViewHolder {
// public final SimpleDraweeView postImage;
// public final ImageView typeIcon;
// public final View selectedView;
// // public final View progressView;
//
// public DiscoverViewHolder(@NonNull final View itemView) {
// super(itemView);
// typeIcon = itemView.findViewById(R.id.typeIcon);
// postImage = itemView.findViewById(R.id.postImage);
// selectedView = itemView.findViewById(R.id.selectedView);
// // progressView = itemView.findViewById(R.id.progressView);
// }
//}