homeTabIndex2Id function
- int index
Implementation
HomeTabId homeTabIndex2Id(int index) {
HomeTabId id = HomeTabId.SHOPPING;
switch (index) {
case 0:
id = HomeTabId.SHOPPING;
break;
case 1:
id = HomeTabId.CARD_MANAGEMENT;
break;
case 2:
id = HomeTabId.USER_SETTINGS;
break;
case 3:
id = HomeTabId.CONTRIB;
break;
default:
id = HomeTabId.SHOPPING;
}
return id;
}