Here are the examples of the java api candybar.lib.fragments.SettingsFragment taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : CandyBarMainActivity.java
with Apache License 2.0
from zixpo
with Apache License 2.0
from zixpo
@Override
public void onRestorePurchases() {
if (InAppBillingProcessor.get(this).getProcessor().loadOwnedPurchasesFromGoogle()) {
List<String> productsId = InAppBillingProcessor.get(this).getProcessor().listOwnedProducts();
if (productsId != null) {
SettingsFragment fragment = (SettingsFragment) mFragManager.findFragmentByTag(Extras.TAG_SETTINGS);
if (fragment != null)
fragment.restorePurchases(productsId, mConfig.getPremiumRequestProductsId(), mConfig.getPremiumRequestProductsCount());
}
}
}