make sure we open the correct photo on fullscreen
This commit is contained in:
parent
e982fa0d22
commit
732fa20cb5
1 changed files with 2 additions and 2 deletions
|
@ -110,9 +110,9 @@ public class ViewPagerActivity extends AppCompatActivity implements ViewPager.On
|
||||||
|
|
||||||
if (curPath.equals(path))
|
if (curPath.equals(path))
|
||||||
pos = i;
|
pos = i;
|
||||||
}
|
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
|
}
|
||||||
} while (cursor.moveToNext());
|
} while (cursor.moveToNext());
|
||||||
cursor.close();
|
cursor.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue