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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -