Android Question Receive big data AsyncStream_NewData

ilker yasin

New Member
I try to send this data to client from my server

Server sends this data:
[
   {
      "ID":"3",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 12:25:00",
      "STA":"1"
   },
   {
      "ID":"4",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 14:25:00",
      "STA":"1"
   },
   {
      "ID":"5",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 11:05:00",
      "STA":"1"
   },
   {
      "ID":"6",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 15:15:00",
      "STA":"1"
   },
   {
      "ID":"7",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 16:05:00",
      "STA":"1"
   },
   {
      "ID":"8",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 17:25:00",
      "STA":"1"
   },
   {
      "ID":"9",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 18:10:00",
      "STA":"1"
   },
   {
      "ID":"10",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 19:35:00",
      "STA":"1"
   },
   {
      "ID":"11",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 21:45:00",
      "STA":"1"
   },
   {
      "ID":"12",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 20:25:00",
      "STA":"1"
   },
   {
      "ID":"13",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 23:30:00",
      "STA":"1"
   },
   {
      "ID":"14",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 13:05:00",
      "STA":"1"
   },
   {
      "ID":"15",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 09:30:00",
      "STA":"1"
   },
   {
      "ID":"16",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 21:15:00",
      "STA":"1"
   },
   {
      "ID":"17",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 10:05:00",
      "STA":"1"
   },
   {
      "ID":"18",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 11:40:00",
      "STA":"1"
   },
   {
      "ID":"19",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 08:00:00",
      "STA":"1"
   },
   {
      "ID":"20",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 08:30:00",
      "STA":"1"
   },
   {
      "ID":"21",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 09:00:00",
      "STA":"1"
   },
   {
      "ID":"22",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 22:20:00",
      "STA":"1"
   },
   {
      "ID":"23",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 19:05:00",
      "STA":"1"
   },
   {
      "ID":"24",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 16:40:00",
      "STA":"1"
   },
   {
      "ID":"25",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 18:40:00",
      "STA":"1"
   },
   {
      "ID":"26",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 10:35:00",
      "STA":"1"
   }
]

And i get data like this at client side

Client gets this data:
[
   {
      "ID":"3",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 12:25:00",
      "STA":"1"
   },
   {
      "ID":"4",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 14:25:00",
      "STA":"1"
   },
   {
      "ID":"5",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 11:05:00",
      "STA":"1"
   },
   {
      "ID":"6",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 15:15:00",
      "STA":"1"
   },
   {
      "ID":"7",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 16:05:00",
      "STA":"1"
   },
   {
      "ID":"8",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 17:25:00",
      "STA":"1"
   },
   {
      "ID":"9",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 18:10:00",
      "STA":"1"
   },
   {
      "ID":"10",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 19:35:00",
      "STA":"1"
   },
   {
      "ID":"11",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 21:45:00",
      "STA":"1"
   },
   {
      "ID":"12",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 20:25:00",
      "STA":"1"
   },
   {
      "ID":"13",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"2020-12-23 23:30:00",
      "STA":"1"
   },
   {
      "ID":"14",
      "WID":"1",
      "WNM":"test1 test1",
      "UID":"1",
      "UNM":"test1 test1",
      "SID":"2",
      "ADT":"\"2020-1"

How can i avoid this problem ?
 
Top