public void onClick(DialogInterface dialog, int whichButton) {
ArrayList<AppList> mArrayProducts = clad.getCheckedItems();
String[] outputStrArr = new String[mArrayProducts.size()];
//values.add(outputStrArr);
Toast.makeText(getApplicationContext(),"Selected Items:"+mArrayProducts,Toast.LENGTH_LONG).show();
}
Can u please help me.
答案 0 :(得分:0)
List<String> mArrayProducts = clad.getCheckedItems();
final QuickLinksGridViewAdaptor selected_apps = new QuickLinksGridViewAdaptor(HomeActivity.this, mArrayProducts);
gv_shortcut.setAdapter(selected_apps);