Browse Source

comment out unused stuff

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
5c0598502a
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 52
      app/src/main/java/awais/instagrabber/adapters/viewholder/DiscoverViewHolder.java

52
app/src/main/java/awais/instagrabber/adapters/viewholder/DiscoverViewHolder.java

@ -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);
// }
//}
Loading…
Cancel
Save