shivmaruti singh wrote:yes this is Api response . i used...
Just as an aside, I'm not wild about those auto-generated
catch blocks. Why not:
throw new Error(e);
instead?
It's nothing to do with you, but as it stands that code would just spew out a stacktrace every time it got an error, and merrily continue processing - and you might never know that it had a problem until you ended up with a
NullPointerException.
Winston