java - How to join a String array to a int array and sort by number (higher to lower) in Android? -
i have 2 arrays:
int[] sinais = new int[arraysinais.length]; string[] arrayssid = new string[] { };
and joined them 1 array:
string[] arrayscan = new string[arraysinais.length]; (int = 0; < arrayssid.length; i++) { arrayscan[i] = arrayssid[i] + " " + sinais[i]; }
but need sort new array numbers in decreasing order , put image
inside listview
depending numbers, , not have idea how this.
you can use create own object contains int , string , use arraylist sort
Comments
Post a Comment