java - How to create a listview from callback socket emit? -


i used socket.io in android project. created rest api project using node.js in case find method return json array [{...},{...},{...}]

how use following code create listview args?

msocket.emit("messages::find", jsonobject, new ack() {    @override   public void call(object... args) {    string string = ;   string [] objectlist = new string [] args[args.length-1].tostring();    list<string> stringlist = new arraylist<string>(arrays.aslist(string));    /* have here array callback */    }  }); 


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -