context.runOnUiThread(new Runnable() { @Override public void run() { _prop = new Prop(buyType, moneyPay, product); context.doPay(); } });