getCategoryTitle method
Implementation
String? getCategoryTitle(Context context, int category) {
switch (category) {
case CATEGORY_AUDIO:
return 'audio';
case CATEGORY_GAME:
return 'game';
case CATEGORY_IMAGE:
return 'image';
case CATEGORY_MAPS:
return 'maps';
case CATEGORY_NEWS:
return 'news';
case CATEGORY_PRODUCTIVITY:
return 'productivity';
case CATEGORY_SOCIAL:
return 'social';
case CATEGORY_VIDEO:
return 'video';
default:
return null;
}
}