android - Fresco Image Viewer doesn't show photo -


i'm using fresco image viewer on app showing post photos when clicked make full screen. working last week, didn't changed in code doesn't work.

here showfullscreen function

    public void showfullscreenimage(final context activity, final string imageurl) {     handler handler = new handler(activity.getmainlooper());     handler.post(new runnable() {         public void run() {             try {                 list<string> pictures = new arraylist<>();                 pictures.add(imageurl);                  genericdraweehierarchybuilder hierarchybuilder = genericdraweehierarchybuilder.newinstance(mcontext.getresources())                         .setfailureimage(r.drawable.error)                         .setprogressbarimage(new progressbardrawable());                  new imageviewer.builder<>(activity, pictures).setcustomdraweehierarchybuilder(hierarchybuilder).setstartposition(0).show();              } catch (exception ex) {                 ex.printstacktrace();             }         }     }); } 

it shows black screen, it's not freezing, can swipe dismiss view.

okay found solution, upgrade repos final update build.gradle fresco , frescoimageviwer it'll work.


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -