MCPcopy Create free account
hub / github.com/SOUI2/soui / onDataSetChanged

Method onDataSetChanged

SOUI/src/control/STileView.cpp:158–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void STileView::onDataSetChanged()
159{
160 if(!m_adapter)
161 {
162 return;
163 }
164 if(m_tvItemLocator)
165 {
166 m_tvItemLocator->OnDataSetChanged();
167 }
168 if(m_iSelItem != -1 && m_iSelItem >= m_adapter->getCount())
169 m_iSelItem = -1;
170
171 UpdateScrollBar();
172 UpdateVisibleItems();
173}
174
175void STileView::onDataSetInvalidated()
176{

Callers 1

onChangedMethod · 0.45

Calls 2

OnDataSetChangedMethod · 0.80
getCountMethod · 0.45

Tested by

no test coverage detected