Re: [android-developers] Google billing Library - Fragment getting disappeared after subscription purchase

2021-10-07 Thread gfhfg fghfgh
Democrats Weigh Filibuster Change to Solve Debt Ceiling Fight

On Thu, Oct 7, 2021 at 7:49 AM Srinivas A.K  wrote:

> I am new to the implementation of Google's Billing library and using this
> system to make subscriptions inside my app. I have created a fragment that
> displays a list of subscriptions available for our product.
>
> I have selected a test subscription from the list and purchased it. After
> a successful purchase of the subscription through Google Play billing
> library process, the fragment is getting closed immediately. I have also
> used setRetainInstance(true) in OnCreateView() method for the fragment to
> stay after the purchase but it doesn't work.
>
> Can you please suggest on how to make my fragment *NOT TO DISAPPEAR* after
> the purchase is completed?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/e0029943-9074-4302-86cb-c1a131a973f8n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CA%2BH_VrAk9K3aKg-q3CKwLm1_Z810fQkF6aNKn4KeRmL76Tm-uA%40mail.gmail.com.


[android-developers] Google billing Library - Fragment getting disappeared after subscription purchase

2021-10-07 Thread Srinivas A.K


I am new to the implementation of Google's Billing library and using this 
system to make subscriptions inside my app. I have created a fragment that 
displays a list of subscriptions available for our product.

I have selected a test subscription from the list and purchased it. After a 
successful purchase of the subscription through Google Play billing library 
process, the fragment is getting closed immediately. I have also used 
setRetainInstance(true) in OnCreateView() method for the fragment to stay 
after the purchase but it doesn't work.

Can you please suggest on how to make my fragment *NOT TO DISAPPEAR* after 
the purchase is completed?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e0029943-9074-4302-86cb-c1a131a973f8n%40googlegroups.com.