| | |
| | | import com.ali.auth.third.core.util.StringUtil; |
| | | import com.app.hubert.guide.util.ScreenUtils; |
| | | import com.google.gson.Gson; |
| | | import com.tejia.lijin.app.ShoppingApplication; |
| | | import com.wpc.library.RetainViewFragment; |
| | | import com.wpc.library.util.common.StringUtils; |
| | | import com.tejia.lijin.app.BasicTextHttpResponseHandler; |
| | |
| | | if (et_memoName.getText() != null && !StringUtils.isEmpty(et_memoName.getText().toString())) { |
| | | memoName = et_memoName.getText().toString(); |
| | | } |
| | | ShoppingApi.saveMemoName(getContext(), uid + "", inviteId, memoName, new BasicTextHttpResponseHandler() { |
| | | ShoppingApi.saveMemoName(getContext(), uid , inviteId, memoName, new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception { |
| | | if (jsonObject.optInt("code") == 0) { |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | public String getUid(Context mContext) { |
| | | return mContext.getSharedPreferences("user", Context.MODE_PRIVATE).getString("uid", ""); |
| | | public Long getUid(Context mContext) { |
| | | return UserUtil.getUid(ShoppingApplication.application); |
| | | } |
| | | |
| | | @Override |