Interface CachedIngredient
- All Superinterfaces:
Ingredient
If
Important: unlike
Important: unlike
Therefore, it is necessary to initialize all necessary variables for shouldRefresh not in getItem
getItem returns null or shouldRefresh == false, the cached version will be used. Important: unlike
Ingredient, shouldRefresh can be called twice in some cases.Important: unlike
Ingredient, shouldRefresh may be called before the first rendering. Therefore, it is necessary to initialize all necessary variables for shouldRefresh not in getItem
-
Method Summary
Methods inherited from interface ru.cwcode.tkach.refreshmenu.inventory.ingredient.Ingredient
getItem, getItem, onClick, onClick, shouldRefresh