Signed-off-by: katpaga.a <katpaga.a@samsung.com>
Change-Id: I9bba85fe444b76cadcb72033d54a4ee7746932b6
Signed-off-by: katpaga.a <katpaga.a@samsung.com>
int
TableView::GetBottomDrawnItemIndex(void) const
{
+ result r = E_SUCCESS;
const _TableViewImpl* pImpl = _TableViewImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
int itemIndex = -1;
int groupIndex = -1;
- pImpl->GetBottomDrawnItemIndex(groupIndex, itemIndex);
+ r = pImpl->GetBottomDrawnItemIndex(groupIndex, itemIndex);
+ SetLastResult(r);
return itemIndex;
}
itemPos.itemIndex = -1;
itemPos.groupIndex = -1;
- return E_INVALID_STATE;
+ return E_OBJ_NOT_FOUND;
}
float scrollPosition = GetScrollPosition() + __pTableView->GetBoundsF().height;