onskudetailsresponce

'Both methods have same erasure, yet neither overides the other' method clash error in SkuDetailsResponseListener()

只愿长相守 提交于 2021-02-08 07:51:21
问题 I'm attempting to implement the new inapp billing implementation as the trivial drive 2 implementation appears to have dropped support. The following code to create my mSkuDetails map gives me an odd method clash error. It's copied right from the docs except for the Map insertion line. List<String> skuList = new ArrayList<> (); skuList.add("item1"); skuList.add("item2"); SkuDetailsParams.Builder params = SkuDetailsParams.newBuilder(); params.setSkusList(skuList).setType(BillingClient.SkuType

'Both methods have same erasure, yet neither overides the other' method clash error in SkuDetailsResponseListener()

本小妞迷上赌 提交于 2021-02-08 07:51:10
问题 I'm attempting to implement the new inapp billing implementation as the trivial drive 2 implementation appears to have dropped support. The following code to create my mSkuDetails map gives me an odd method clash error. It's copied right from the docs except for the Map insertion line. List<String> skuList = new ArrayList<> (); skuList.add("item1"); skuList.add("item2"); SkuDetailsParams.Builder params = SkuDetailsParams.newBuilder(); params.setSkusList(skuList).setType(BillingClient.SkuType