Isaac Tian

Results 4 comments of Isaac Tian

The body() method will open the stream to read all content each time. Back to the code, the 1st call will close the input stream associated with the connection. So,...

HTTPRequest req = HTTPRequest.post(url).header(key, value).send("JSON string"); int code = req.code();

Maybe you can use mListView.onRefresh() to auto load when activity start up.

I have the same problem, but I set hasMore=false while loading and set it back to true after load which solved this problem.