安卓simpleadapter问题

 SimpleAdapter adapter = new SimpleAdapter(this,getData(),R.layout.vlist,
                new String[]{"question_content","rbtn_a","rbtn_b","rbtn_c","rbtn_d"},
                new int[]{R.id.question_content,R.id.rbtn_a,R.id.rbtn_b,R.id.rbtn_c,R.id.rbtn_d});

适配器相当于是MVC模式当中的控制器。

猜你喜欢

转载自www.cnblogs.com/MalcolmMeng/p/8875426.html