MCPcopy Create free account
hub / github.com/axmolengine/axmol / insertDefaultItem

Method insertDefaultItem

core/ui/UIListView.cpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void ListView::insertDefaultItem(ssize_t index)
257{
258 if (nullptr == _model)
259 {
260 return;
261 }
262 insertCustomItem(_model->clone(), index);
263}
264
265void ListView::pushBackCustomItem(Widget* item)
266{

Callers 1

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected