//订单
public class DdActivity extends BaseActivity implements IddContract.IddView {
private static final String TAG = "DdActivity";
@BindView(R.id.xrecycler)
XRecyclerView xrecycler;、
@BindView(R.id.radio_butt_qbdd)
RadioButton radioButtQbdd;
@BindView(R.id.radio_butt_dfk)
RadioButton radioButtDfk;
@BindView(R.id.radio_butt_dsh)
RadioButton radioButtDsh;
@BindView(R.id.radio_butt_dpj)
RadioButton radioButtDpj;
@BindView(R.id.radio_butt_ywc)
RadioButton radioButtYwc;
@BindView(R.id.radio_dd)
RadioGroup radioDd;
private IddPresenter presenter;
private Map<String, String> map;
@Override
public int getLayoutId() {
return R.layout.activity_dd;
}
@Override
public void initView() {
ButterKnife.bind(this);
}
@Override
public void initData() {
presenter = new IddPresenter();
presenter.attachView(this);
LoginBeanDao grennDao = GreenDaoUtil.getGrennDao();
List<LoginBean> list = grennDao.queryBuilder().where(LoginBeanDao.Properties.Id.notEq("999"))
.build().list();
LoginBean loginBean = list.get(list.size() - 1);
int userId = loginBean.getUserId();
String sessionId = loginBean.getSessionId();
map = new HashMap<>();
map.put("userId", userId + "");
map.put("sessionId", sessionId);
presenter.getddPresenter(map, "0", "1", "5");
radioDd
Android 订单详情
最新推荐文章于 2021-05-26 13:20:09 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)