Examples of GoodBalanceChangedEvent


Examples of com.soomla.store.events.GoodBalanceChangedEvent

        try {
            JSONObject eventJSON = new JSONObject(message);

            int balance = eventJSON.getInt("balance");
            int amountAdded = eventJSON.getInt("amountAdded");
            BusProvider.getInstance().post(new GoodBalanceChangedEvent(eventJSON.getString("itemId"), balance, amountAdded, this));
        } catch (JSONException e) {
            SoomlaUtils.LogError(TAG, "(when pushing event) This is BAD! couldn't create JSON for onGoodBalanceChanged event.");
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.