
For this project, we need 3 types of data classes.

Data classes:įirst of all, we need to create scripts for the classes which will hold the data of each item on the list. > You can check out the official document given by the EnhancedScroller at EnhancedScroller Site or check out the introduction article. Understanding of the EnhancedScroller simple usage. EnhanceScroller plugin -> You can get it from Unity Asset Store.Ģ. The given below requirements should be fulfilled for a better understanding of this article.ġ. With only theory, you may not understand properly so let's learn it with some examples as below. One list will hold all the data (including the header) which will be displayed in the scroll list and another list will hold the references for each row of the item of the scroll list. This way of representing items with header and items is done using two different lists in EnhancedScroller. The grid items continue until the items of the same section are available to be shown and then the next section will start with another category with the same style layout of a single header and then followed by its related items in a grid layout.

The image for this type of list is shown at the top of the image of this article. list with different item sizes list with same item sizeīut in this article will discuss creating a little bit hard way of listing two types of rows/items using EnhancedScroller. The simple layout with EnhancedScroller is created using a single data list and it looks like the picture below. Changing the size and UI of the same type of data is easy and faster with EnhancedScroller as you won't need to handle the list by yourself you will just need to provide the list of the data for the EnhancedScroller and it will handle them easily. Grid layout with a header of each sectionĬreating a list of a single type of data in EnhancedScroller is too easy if you have gone through the 1st demo the EnhancedScroller Plugin provides.
