Nested array in android -


I want to create / handle nested arrays in Android. My nested array will be similar to this.

  [array name] = [1] = [1] = a [2] = b [3] = d [2] = [1] = a [2] = b [3 ] = D [3] = [1] = a [2] = b [3] = d   

I tried to do it with a hashmap and array list but I do not think Will it work .. Is there any idea of ​​working with such nested array ?? Try the following code: string [] [] array = new string [intis] [intisij]

; // print array in rectangular form (int r = 0; r & lt; array height; r ++) {for (int c = 0; c & lt; array [r] .length; c ++) {Array [r] [c] = c + ""; // your genre}}

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -