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

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -