Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any dictionary datatype in android? [duplicate]

Tags:

java

android

As i have experience in iOS and newbie to Android development, i wqant to implement grouped tableview in Android.

Can anyone tell me what is the replacement of NSDictionary in android...

Many thanks in advance

like image 779
Anurag Sharma Avatar asked Oct 15 '13 14:10

Anurag Sharma


1 Answers

NSDictionary is just a dictionary type; in Java these are called "Maps" instead. You can use any Map implementation to do the same thing, of which the normal "default choice" is HashMap.

like image 108
tyczj Avatar answered Oct 02 '22 16:10

tyczj