use of com.globalcollect.gateway.sdk.client.android.sdk.model.Size in project connect-sdk-client-android by Ingenico-ePayments.
the class PaymentProductSelectionActivity method updateLogos.
private void updateLogos(Region region, EnvironmentType environment, List<BasicPaymentItem> basicPaymentItems) {
// if you want to specify the size of the logos you update, set resizedLogo to a size (width, height)
Size resizedLogo = new Size(100, 100);
// if you just want to get the default images, set
// resizedLogo = null;
AssetManager manager = AssetManager.getInstance(getApplicationContext());
manager.updateLogos(region, environment, basicPaymentItems, resizedLogo);
}
Aggregations