Arun,

fill your items with the data.....



On Tue, Jan 10, 2012 at 3:59 PM, arun kumar <[email protected]> wrote:

> 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 <[email protected]>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 <[email protected]>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 [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> 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 [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

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

Reply via email to