|
@ -20,13 +20,17 @@ import android.widget.TextView; |
|
|
import android.widget.Toast; |
|
|
import android.widget.Toast; |
|
|
|
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.R; |
|
|
import com.gmeremit.online.gmeremittance_native.R; |
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.CustomAlertDialog; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView; |
|
|
import com.gmeremit.online.gmeremittance_native.exchange_rate.view.ExchangeMethodActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.exchange_rate.view.ExchangeMethodActivity; |
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.exchange_rate.view.ExchangeMethodV2Activity; |
|
|
import com.gmeremit.online.gmeremittance_native.exchange_rate.view.ExchangeRateActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.exchange_rate.view.ExchangeRateActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.home.model.HomeMenus; |
|
|
import com.gmeremit.online.gmeremittance_native.home.model.HomeMenus; |
|
|
import com.gmeremit.online.gmeremittance_native.home.model.Menu; |
|
|
import com.gmeremit.online.gmeremittance_native.home.model.Menu; |
|
|
import com.gmeremit.online.gmeremittance_native.mobile_recharge.view.MobileRechargeActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.mobile_recharge.view.MobileRechargeActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.recipient.view.RecipientsListActivity; |
|
|
import com.gmeremit.online.gmeremittance_native.recipient.view.RecipientsListActivity; |
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.recipientV2.view.recipientlisting.RecipientListingV2Activity; |
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.sendmoneyV2.view.SendMoneyV2Activity; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.SocialContract; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.SocialContract; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.adapter.PrivateSocialAdapter; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.adapter.PrivateSocialAdapter; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.model.SocialModel; |
|
|
import com.gmeremit.online.gmeremittance_native.socials.model.SocialModel; |
|
@ -161,19 +165,22 @@ public class SocialPrivateWallActivity extends AppCompatActivity implements Soci |
|
|
public void setMenuListener(int id){ |
|
|
public void setMenuListener(int id){ |
|
|
if (id == 1) { |
|
|
if (id == 1) { |
|
|
if (isVerified()) |
|
|
if (isVerified()) |
|
|
startActivity(new Intent(this, RecipientsListActivity.class)); |
|
|
|
|
|
|
|
|
// startActivity(new Intent(this, RecipientsListActivity.class)); |
|
|
|
|
|
startActivity(new Intent(this, RecipientListingV2Activity.class)); |
|
|
} else if (id == 2) { |
|
|
} else if (id == 2) { |
|
|
if (isVerified()) |
|
|
|
|
|
startActivity(new Intent(this, MobileRechargeActivity.class)); |
|
|
|
|
|
|
|
|
// if (isVerified()) |
|
|
|
|
|
// startActivity(new Intent(this, MobileRechargeActivity.class)); |
|
|
|
|
|
showFetaureComingSoon(); |
|
|
} else if (id == 3) { |
|
|
} else if (id == 3) { |
|
|
startActivity(new Intent(this, ExchangeMethodActivity.class)); |
|
|
|
|
|
|
|
|
startActivity(new Intent(this, ExchangeMethodV2Activity.class)); |
|
|
} else if (id == 4) { |
|
|
} else if (id == 4) { |
|
|
startActivity(new Intent(this, TrackYourTransferActivity.class)); |
|
|
startActivity(new Intent(this, TrackYourTransferActivity.class)); |
|
|
} else if (id == 5) { |
|
|
} else if (id == 5) { |
|
|
startActivity(new Intent(this, TransactionStatementActivity.class)); |
|
|
startActivity(new Intent(this, TransactionStatementActivity.class)); |
|
|
} else if (id == 6) { |
|
|
} else if (id == 6) { |
|
|
if (isVerified()) |
|
|
|
|
|
startActivity(new Intent(this, WalletToWalletActivity.class)); |
|
|
|
|
|
|
|
|
// if (isVerified()) |
|
|
|
|
|
// startActivity(new Intent(this, WalletToWalletActivity.class)); |
|
|
|
|
|
showFetaureComingSoon(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -207,6 +214,16 @@ public class SocialPrivateWallActivity extends AppCompatActivity implements Soci |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void showFetaureComingSoon() { |
|
|
|
|
|
CustomAlertDialog customAlertDialog = new CustomAlertDialog(); |
|
|
|
|
|
customAlertDialog.setAlertType(CustomAlertDialog.AlertType.ALERT); |
|
|
|
|
|
customAlertDialog.setMessage("This feature is coming soon"); |
|
|
|
|
|
android.app.FragmentManager fragmentManager = this.getFragmentManager(); |
|
|
|
|
|
if (fragmentManager != null) |
|
|
|
|
|
customAlertDialog.show(fragmentManager, "CustomProgressBar"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void onPrivateCommentClick(int position) { |
|
|
public void onPrivateCommentClick(int position) { |
|
|
Intent intent = new Intent(this, CommentsActivity.class); |
|
|
Intent intent = new Intent(this, CommentsActivity.class); |
|
|