| Line 227... |
Line 227... |
| 227 |
AnalyticsJsonResponse.getAnalyticsRequestInstance(),
|
227 |
AnalyticsJsonResponse.getAnalyticsRequestInstance(),
|
| 228 |
AnalyticsErrorResponse.getAnalyitcsResponseInstance()).anlyticsRequest(MainActivity.this);
|
228 |
AnalyticsErrorResponse.getAnalyitcsResponseInstance()).anlyticsRequest(MainActivity.this);
|
| 229 |
flag=20;
|
229 |
flag=20;
|
| 230 |
String emailURL= String.valueOf(getIntent().getData());
|
230 |
String emailURL= String.valueOf(getIntent().getData());
|
| 231 |
notificationURL =new UtilityFunctions().getEmailUrlFromMap(getApplicationContext(), emailURL,apiData.getString("mobile.website.url",""))+"?user_id="+userData.getString("id","");
|
231 |
notificationURL =new UtilityFunctions().getEmailUrlFromMap(getApplicationContext(), emailURL,apiData.getString("mobile.website.url",""))+"?user_id="+userData.getString("id","");
|
| - |
|
232 |
}else if(getIntent().getAction()=="11"){
|
| - |
|
233 |
flag=11;
|
| 232 |
}else {
|
234 |
}else {
|
| 233 |
Bundle i = getIntent().getExtras();
|
235 |
Bundle i = getIntent().getExtras();
|
| 234 |
if (i != null) {
|
236 |
if (i != null) {
|
| 235 |
flag = Integer.parseInt(i.getString("displayView"));
|
237 |
flag = Integer.parseInt(i.getString("displayView"));
|
| 236 |
if (flag == 31) {
|
238 |
if (flag == 31) {
|
| Line 545... |
Line 547... |
| 545 |
this.getFragmentManager().beginTransaction()
|
547 |
this.getFragmentManager().beginTransaction()
|
| 546 |
.replace(R.id.frame_container, redirectUrlFragment, "Mike")
|
548 |
.replace(R.id.frame_container, redirectUrlFragment, "Mike")
|
| 547 |
.addToBackStack(null)
|
549 |
.addToBackStack(null)
|
| 548 |
.commit();
|
550 |
.commit();
|
| 549 |
redirectUrlFragment.setArguments(args);
|
551 |
redirectUrlFragment.setArguments(args);
|
| - |
|
552 |
}else if (flag == 11) {
|
| - |
|
553 |
getSupportActionBar().setCustomView(R.layout.actionbaraboutus);
|
| - |
|
554 |
Bundle args = new Bundle();
|
| - |
|
555 |
AboutUsFragment redirectUrlFragment = new AboutUsFragment();
|
| - |
|
556 |
args.putString("key", redirectUrl);
|
| - |
|
557 |
this.getFragmentManager().beginTransaction()
|
| - |
|
558 |
.replace(R.id.frame_container, redirectUrlFragment, "Mike")
|
| - |
|
559 |
.addToBackStack(null)
|
| - |
|
560 |
.commit();
|
| - |
|
561 |
redirectUrlFragment.setArguments(args);
|
| 550 |
}else {
|
562 |
}else {
|
| 551 |
getSupportActionBar().setCustomView(R.layout.actionbardeals);
|
563 |
getSupportActionBar().setCustomView(R.layout.actionbardeals);
|
| 552 |
displayView(0);
|
564 |
displayView(0);
|
| 553 |
}
|
565 |
}
|
| 554 |
|
- |
|
| 555 |
}
|
566 |
}
|
| 556 |
|
- |
|
| 557 |
|
- |
|
| 558 |
}
|
567 |
}
|
| 559 |
|
568 |
|
| 560 |
private class ExpandableGroupExpandListener implements ExpandableListView.OnGroupExpandListener{
|
569 |
private class ExpandableGroupExpandListener implements ExpandableListView.OnGroupExpandListener{
|
| 561 |
@Override
|
570 |
@Override
|
| 562 |
public void onGroupExpand(int groupPosition) {
|
571 |
public void onGroupExpand(int groupPosition) {
|