Shop

public abstract class Shop

Fields

context

Context context

itemLayoutId

int itemLayoutId

shopItemArray

ArrayList<? extends ShopItem> shopItemArray

shopItemAttrIds

int[] shopItemAttrIds

shopItemAttributes

String[] shopItemAttributes

storage

Storage storage

Constructors

Shop

Shop(int resourceId, Context context, Storage storage)

Methods

createInstance

public abstract ShopItem createInstance(JSONObject object, int iterationIndex)

getShopFragment

public ShopFragment getShopFragment(int shopItemLayoutId, String[] shopItemAttributes, int[] shopItemAttrIds)

getTag

abstract String getTag()

getViewDataArray

ArrayList<HashMap<String, Object>> getViewDataArray()