Loading...

android-developers@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [android-developers] Re: intent Value hazem omies Mon Feb 27 01:00:39 2012

hi ,,,

Note,,the value has been passed successfully ,,,but without listview !!!



On Mon, Feb 27, 2012 at 10:39 AM, hazem omies <[EMAIL PROTECTED]> wrote:

> thanks ,,
>
> but i put this map like *intent.putExtras("mapidentifier",map); ,,, how i
> can put this mapping as listview in second activity  *
>
>
> On Mon, Feb 27, 2012 at 9:19 AM, kalandar <[EMAIL PROTECTED]> wrote:
>
>> hi,
>>
>> if you want to pass the same HashMap value for two activity means
>> you can create the HashMap object in common static object.
>> like
>>
>> class Common
>> {
>> public static HashMap map = new HashMap();
>> }
>>
>> now you can use this map in your entire activity.
>> like Common.map.put("", "");
>>
>> otherwise you can pass the map object to
>>
>> intent.putExtras("mapidentifier",map);
>>
>> i hope this will help you...
>>
>>
>> On Feb 26, 1:15 pm, hazem omies <[EMAIL PROTECTED]> wrote:
>> > hi,,,,,
>> > how to passing intent value from listview activity that using HashMap
>> > to another listview  as follow :
>> >
>> > the main activity contain listview getting value from xml using
>> > HashMap ,,i need to passing this value to another arraylist  to be
>> > view in listview how i can do this ,
>>
>> --
>> 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