Skip to content

Commit

Permalink
Added recommendations response on notifications click
Browse files Browse the repository at this point in the history
  • Loading branch information
rajagopal28 committed Mar 21, 2015
1 parent f975869 commit 5e4ee73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public boolean doProcess(List<ResponseItemBean> responseItemBeansList) {
switch (recommendationType) {
case ASK_REC_PROD:
case ASK_REVIEW:
case ASKED_TO_REC_PROD:
targetIntent = new Intent(context, ProductsListActivity.class);
bundle.putString(GimbalStoreConstants.INTENT_EXTRA_ATTR_KEY.SELECTED_PRODUCT_ID.toString(),
identifierString);
Expand All @@ -82,6 +83,7 @@ public boolean doProcess(List<ResponseItemBean> responseItemBeansList) {
notificationActionBeans);
break;
case ASK_REC_CAT:
case ASKED_TO_REC_CAT:
targetIntent = new Intent(context, ProductDetailsActivity.class);
bundle.putString(GimbalStoreConstants.INTENT_EXTRA_ATTR_KEY.SELECTED_SUB_CATEGORY_ID.toString(),
identifierString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public static enum RECOMMENDATION_TYPE {
TYPE_REVIEW_CATEGORY,
ASK_REVIEW,
RECOMMENDED_BY,
NOTIFY_REVIEW
NOTIFY_REVIEW,
ASKED_TO_REC_PROD,
ASKED_TO_REC_CAT
}

public static enum NOTIFICATION_TYPE {
Expand Down

0 comments on commit 5e4ee73

Please sign in to comment.