Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
Quick fix, 0.3.0 again
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed Dec 31, 2015
1 parent 0ef6760 commit 166311e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Binary file modified apk/PhotoAffix.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ android {
applicationId "com.afollestad.photoaffix"
minSdkVersion 21
targetSdkVersion 23
versionCode 13
versionCode 14
versionName "0.3.0 BETA"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ public PhotoViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {

@Override
public void onBindViewHolder(PhotoViewHolder holder, int position) {
if (holder.itemView.getTag() == null || (Integer) holder.itemView.getTag() != position) {
Glide.with(mContext)
.load(mPhotos[position].getUri())
.into(holder.image);
}
super.onBindViewHolder(holder, position);

Glide.with(mContext)
.load(mPhotos[position].getUri())
.into(holder.image);

if (isIndexSelected(position)) {
holder.check.setVisibility(View.VISIBLE);
holder.circle.setActivated(true);
Expand Down

0 comments on commit 166311e

Please sign in to comment.