mercurysunrise / android-query

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

Can't ask for an image via Ajax without ImageView #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
According to instructions and javadoc 

<pre>public final void callback(java.lang.String url,
                           Bitmap bm,
                           AjaxStatus status)

The callback method to be overwritten for subclasses</pre>

But this class is declared as final, so can't override it :)

For the moment I'm using the ImageView associated implementation of callback 
method, but it only works when there is an imageview associated, so I had to 
create a fake ImageView to make it work.

Btw, congrats for this fantastic work. Excellent!

Original issue reported on code.google.com by sergi.martinez on 16 Aug 2012 at 11:30

GoogleCodeExporter commented 8 years ago
Getting bitmap without image view can be done via aq.ajax with type 
Bitmap.class.

Original comment by tinyeeliu@gmail.com on 19 Sep 2012 at 2:01