mercurysunrise / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

AQuery object between Activities and Fragments #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to use one AQuery object between different activities in order 
to keep same cookies set between AJAX requests? Doesn't it lead to memory leak, 
because AQuery keeps context?

Original issue reported on code.google.com by darck...@gmail.com on 5 Mar 2013 at 3:20

GoogleCodeExporter commented 8 years ago
Don't keep AQ objects around outside of your context. It's better to keep track 
your cookies outside of AQ context.

Original comment by tinyeeliu@gmail.com on 6 Mar 2013 at 11:29

GoogleCodeExporter commented 8 years ago
how can I make AQuery to use separate CookieManager / Object then ?

Original comment by darck...@gmail.com on 6 Mar 2013 at 11:43