Modified Section footer item layout
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_TableViewItemProviderAdaptor.cpp
index e426551..d95d175 100644 (file)
@@ -178,7 +178,7 @@ _TableViewItemProviderAdaptor::LoadItem(int groupIndex, int itemIndex)
                        }
                }
        }
-       else if ((__style == TABLE_VIEW_STYLE_SECTION) && (itemIndex == GetItemCount(groupIndex) - 1) && HasSectionFooter(groupIndex))
+       else if ((__style == TABLE_VIEW_STYLE_SECTION) && (itemIndex == __pTableViewPresenter->GetItemCountAt(groupIndex) - 1) && HasSectionFooter(groupIndex))
        {
                pItem = new (std::nothrow) TableViewItem();
                if (pItem == null)