Merge branch 'master' of https://github.com/CPM-INDIA-SALES-AND-MARKETING-PVT-LTD/GSKORANGEV1 into Category_G
# Conflicts: # GSKMTOrange/src/main/AndroidManifest.xml # GSKMTOrange/src/main/java/cpm/com/gskmtorange/MainActivity.java
This commit is contained in:
+4
-3
@@ -116,14 +116,15 @@ public class CategoryListActivity extends AppCompatActivity {
|
||||
final CategoryGetterSetter categoryData = list.get(position);
|
||||
|
||||
holder.categoryName.setText(categoryData.getCategory());
|
||||
holder.categoryIcon.setImageResource(R.drawable.category);
|
||||
/*if (categoryData.getCategory().equalsIgnoreCase("Oral Health")) {
|
||||
//holder.categoryIcon.setImageResource(R.drawable.category);
|
||||
|
||||
if (categoryData.getCategory().equalsIgnoreCase("Oral Health")) {
|
||||
holder.categoryIcon.setImageResource(R.drawable.ohc);
|
||||
} else if (categoryData.getCategory().equalsIgnoreCase("Wellness")) {
|
||||
holder.categoryIcon.setImageResource(R.drawable.pdr);
|
||||
} else if (categoryData.getCategory().equalsIgnoreCase("Nutritionals")) {
|
||||
holder.categoryIcon.setImageResource(R.drawable.hfd);
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
holder.lay_menu.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user