Examples of CurrencyBalanceChangedEvent


Examples of com.soomla.store.events.CurrencyBalanceChangedEvent

            JSONObject eventJSON = new JSONObject(message);

            int balance = eventJSON.getInt("balance");
            int amountAdded = eventJSON.getInt("amountAdded");

            BusProvider.getInstance().post(new CurrencyBalanceChangedEvent(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.