hey thanks for reply ....
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1,items); if i add like that am getting the below error... The constructor ArrayAdapter<String>(Year, int, int, ArrayList<ItemStructure>) is undefined On Tue, Jan 10, 2012 at 3:38 PM, Mukesh Srivastav <mukicha...@gmail.com>wrote: > OMG, Arun, where are you setting the last parameter of the list.do you see > the below example which i have shown in bold letters. > > ListAdapter adapter = new ArrayAdapter<String>(this, > android.R.layout.simple_list_item_multiple_choice,*list*); > > The above list should be filled by your xml parser. hope you understand. > > Warm Regards, > *Mukesh Kumar*, > Android Consultant/Freelancer, > India,Hyderabad. > > > On Tue, Jan 10, 2012 at 3:29 PM, arun kumar <arun.kata...@gmail.com>wrote: > >> >> >> below is the xml file i has to show name and total in textview which am >> able to do ....but i has to show the Monthname in the list in next activity >> where am struck...so plzzzzzz can any one give guindance on this ..... >> >> >> >> >> >> <NameAndMontotal> >> <item> >> <Name>Arjun</Name> >> <Total>406</Total> >> <Unit>$</Unit> >> <item> >> >> <Monthlist> >> <item> >> <Monthname>FEB</Monthname> >> </item> >> <Monthname>MAR</Monthname> >> </item> >> <item><Monthname>APRI</Monthname> >> </item> >> <item >> <Monthname>MAY</Monthname> >> </item> >> >> -- >> 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 >> > > > > -- > > > -- > 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 -- 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