Cache two pages
This commit is contained in:
parent
d17b3efe2a
commit
7a66cce325
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class _DetailPageState extends State<DetailPage> {
|
|||
_cachedImages.put(photo.generatedId, image);
|
||||
return image;
|
||||
},
|
||||
extents: 1,
|
||||
extents: 2,
|
||||
onPageChanged: (int index) {
|
||||
logger.info("onPageChanged to " + index.toString());
|
||||
_selectedIndex = index;
|
||||
|
|
Loading…
Add table
Reference in a new issue