if(!purchase.isAcknowledged()){
AcknowledgePurchaseParams acknowledgePurchaseParams = AcknowledgePurchaseParams.newBuilder()
.setPurchaseToken(purchase.getPurchaseToken())
.build();
billingClient.acknowledgePurchase(acknowledgePurchaseParams,acknowledgePurchaseResponseListener);
binding.tvSubsts.setText("Subscribed");
isSuccess=true;
When subscription payment is successful it will redirect to the landing page which is the contents of the application, whether in ListView or BottomView.
You could alter your Code as follows:
In your DestinationActivity you can do the following to recieve the Information:
Here you can show all details that the Subsciption in
AcknowledgePurchaseParams
has to the user.