java - ParseImageView on Android not displaying image -
I have a strange problem with ParseImageView. I have a ParseImageView defined in my layout:
& lt; com.parse.ParseImageView Android: id = "@ + id / view1_imageview" Android: layout_width = "match_parent" Android: layout_height = "match_parent" / & gt; And I'm calling the method:
imageView = (parse image view) Rootview.findvibidid (RIDV1_iagetage); pff = (ParseFile object.get ("favimg") ); Log.d ("ParseFile", pff.toString ()); ImageView.setParseFile (PFF);
Image view is not set I have confirmed that ParseFile pff is set up. Any hints are appreciated thanks!
You really need to use loadInBackground () to fetch the file:
imageView.loadInBackground (New GetDataCallback () {@Override Public Zero (Byte [] Data, ParseException E) {// Is Not To Do (E! = Zero) e.printStackTrace (); }});
Comments
Post a Comment