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

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -