我想制作一个自定义适配器列表视图,显示我代码中的项目。如果它的多次返回,它将在列表视图中显示多个布局。有人能帮我吗?这就是我的经历。
Intent intent = new Intent(ClaimVoucherActivity.this,ClaimVoucherDetailsActivity.class);
intent.putExtra("customerID", customerID);
intent.putExtra("type", type);
intent.putExtra("name", name);
intent.putExtra("email", email);
intent.putExtra("voucher", voucher);
intent.putExtra("branch", branch);
intent.putExtra("issued", issued);
intent.putExtra("expiration", expiration);
intent.putExtra("status", status);
intent.putExtra("vouchername", vouchername);
intent.putExtra("employeeid", employeeid);
intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);