Back to project page PinterestLikeApp.
The source code is released under:
MIT License
If you think the Android project PinterestLikeApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dreamtale.pintrestlike.data; //w w w . j a v a 2s . c o m import java.util.ArrayList; public class ImageInfoProvider { private static ImageInfoProvider sInfoProvider = null; private ArrayList<ImageInfo> dataList = null; private ImageInfoProvider() { } public static ImageInfoProvider getInstance() { if (null == sInfoProvider) { sInfoProvider = new ImageInfoProvider(); } return sInfoProvider; } public void setDataList(ArrayList<ImageInfo> list) { dataList = list; } public ArrayList<ImageInfo> getDataList() { return dataList; } }