getDPIndex method
dynamic
getDPIndex(
- dynamic i,
- dynamic item
Implementation
getDPIndex(i, item) {
myLogAll('getDPIndex');
var dpid = getDPidfromItem(item);
bool isLabel = false;
bool isIcon = false;
if (item[gType] == gAddress) {
isLabel = true;
} else if (item[gType] == gIcon) {
isIcon = true;
}
List data = getDpDataSearch(dpid, isIcon, isLabel);
return data[i];
}