|
|
@ -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); |
|
|
|
// } |
|
|
|
//} |