You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Layout provider is anyway a class. It would be very simple to grab reference to the data provider here. You already have the index. To get data use item = dataProvider.getDataForIndex(i) leaving out data here was a conscious design decision.
I have an use case that
LayoutProvider
must pass meitem
to calculatedim.width
anddim.height
like the following code
(type, dim , item) => {}
OR(type, dim , index) => {}
is goodThe text was updated successfully, but these errors were encountered: