Please learn to use the code button as it wraps your code around a styled <pre> tag, as it can make the code more readable. making use of the indent button is helpful as well. Which would you rather read below? protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.beaches); lv=(ListView)findViewById(R.id.listView2); lv.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, Wishlist2)); lv.setOnItemClickListener(this); or....
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.beaches);
lv=(ListView)findViewById(R.id.listView2);
lv.setAdapter(new ArrayAdapter(this,
android.R.layout.simple_list_item_1, Wishlist2));
lv.setOnItemClickListener(this);
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak