how can i add image to my listview dynamically........

Thanks in advance......

with Regards,
Raghav.S


Here is My Code:

.final String[] options1 = new String[] {"My Wedding To Do List","My
Reminders","My Appointments"
                ,"My Vendors","My Gift Tracker","My Wedding Budget
Calculator","My Vows","My Images","My Invitations","My Honeymoon"};

(new ArrayAdapter<String>(this,
               android.R.layout.simple_list_item_1,options1));
        getListView().setTextFilterEnabled(true);




    }


 protected void onListItemClick(ListView parent, View v, int position, long
id) {

        super.onListItemClick(parent, v, position, id);


        if(position == 0)
        {
            Toast.makeText(getBaseContext(),"You
Clicked",Toast.LENGTH_SHORT).show();
        }
        else if(position == 1)
        {
            Intent second = new Intent(this,secondpage.class);
            startActivity(second);
        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to