android - why got a nullpointexception when one instance of message called many times sendtotarget -
my message phone call sendtotarget update view “loading“ when service start load info server, phone call 1 time again sendtotarget update view service loaded info server , nullpointexception happening.
this.message = message; message.what = baseservice.start_loading; message.sendtotarget(); list<frienddto> frienddtos = friendprovider.gson.fromjson(resjsonobject, collectiontype); message.what = baseservice.success; message.obj = frienddtos; message.sendtotarget();
android message
No comments:
Post a Comment