【发布时间】:2013-04-09 09:19:16
【问题描述】:
我已经完成Gallery View
gallery = (Gallery) findViewById(R.id.gallery1);
MyAdapter adapter = new MyAdapter(this);
gallery.setAdapter(adapter);
gallery.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View v,
int position, long id) {
Intent go = new Intent(Department2.this,
tablistclass_item.class);
if (!larg) {
go = new Intent(Department2.this, ListClass.class);
}
Bundle b = new Bundle();
b.putString("headername", nameofimage[position]);
b.putString("whichclass", "department");
go.putExtras(b);
startActivity(go);
}
});
}
现在如何为Gallery view 制作page indicator
【问题讨论】:
标签: android