File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/core/ui/list-view Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1150,6 +1150,10 @@ function ensureListViewAdapterClass() {
11501150 ios : undefined ,
11511151 } ;
11521152
1153+ if ( this . owner . sectioned ) {
1154+ ( args as any ) . section = section ;
1155+ }
1156+
11531157 this . owner . notify ( args ) ;
11541158
11551159 if ( ! args . view ) {
@@ -1163,6 +1167,11 @@ function ensureListViewAdapterClass() {
11631167 args . view . height = < CoreTypes . LengthType > unsetValue ;
11641168 }
11651169
1170+ if ( this . owner . sectioned ) {
1171+ ( args . view as any ) . _listViewItemIndex = itemIndex ;
1172+ ( args . view as any ) . _listViewSectionIndex = section ;
1173+ }
1174+
11661175 // Use sectioned item preparation
11671176 if ( this . owner . sectioned ) {
11681177 this . owner . _prepareItemInSection ( args . view , section , itemIndex ) ;
You can’t perform that action at this time.
0 commit comments