I don't know what AndroidQuery does for you exactly, but there is a general
rule about how callbacks for asynchronous callbacks can work without
leaking. If you need to hold a reference to anything at all related the
activity or UI that needs to be updated as a result of some async work,
hold
Why don't you check your progress bar if it's null before modifying it? If
the progress bar got garbage collected it's safe to say that it is not
there anymore (not visible) and any modification wouldn't make any sense at
that stage.
On Wednesday, December 11, 2013 8:43:56 AM UTC-6,
2 matches
Mail list logo