Customisation Options

Customise the Affordability Widget on your Android App.


After you successfully integrate the widget on your Android app, create a JSON Object as per your customisation requirements and add it as an additional parameter in the loadwidget() method. Check all the

available.

JSONObject widgetConfig = new JSONObject(
"{" +
"\"key\": \"YOUR_KEY_ID\"," + // Enter your Live Key ID generated from the Dashboard
"\"amount\": 400000," +
"\"currency\": \"INR\"," +
"\"display\": {" +
"\"offers\": false" +
"}" +
"}"
);
widget.render(this, widgetConfig);

Was this page helpful?