Democrats Weigh Filibuster Change to Solve Debt Ceiling Fight On Thu, Oct 7, 2021 at 7:53 AM Srinivas A.K <[email protected]> wrote:
> I am new to the implementation of Google's Billing library and using this > system to make subscriptions inside my app. I am trying to get the title of > *skuDetailsList* which is obtained from *onSkuDetailsResponse* and adding > to the ArrayList dataSource. I am setting the ArraryList as datasource to > the adapter . The issue is the ListView is getting displayed empty every > time even though there are items available in the ArrayList DataSource. > > i have I debugged the code and found that the view is getting returned > first and then the items are getting added to the ArrayList Datasource as > onSkuDetailsResponse is getting called asynchronously. > > Can you please suggest on how to add items to datasource, bind to the list > view and then return the view? > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-developers/12335e37-f76a-4afa-95e0-59f79b8e238fn%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/12335e37-f76a-4afa-95e0-59f79b8e238fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CA%2BH_VrBWpzZ_%3Dzg29LGSbtuYWeejkQE3mAyywguTrOrdFJR9_A%40mail.gmail.com.

