Oct 12, 2015 Replies: 3 wrap from :https://github.com/chrisbanes/PhotoView I feel it's better then TouchImageViewer using:javaobject,b4aphotoview.jar(INCLUDED) Attachments photoview.zip photoview.zip 85.1 KB · Views: 569 Click to expand...
wrap from :https://github.com/chrisbanes/PhotoView I feel it's better then TouchImageViewer using:javaobject,b4aphotoview.jar(INCLUDED)
icefairy333 Active Member Licensed User Longtime User Oct 13, 2015 #2 Code: Copy 'matrix,fitXY,fitStart,fitCenter,fitEnd,center,centerCrop,centerInside Public Sub setScaleType(Scale As String) jopv.RunMethod("setScaleType", Array(Scale)) End Sub Last edited: Oct 13, 2015
Code: Copy 'matrix,fitXY,fitStart,fitCenter,fitEnd,center,centerCrop,centerInside Public Sub setScaleType(Scale As String) jopv.RunMethod("setScaleType", Array(Scale)) End Sub
wimpie3 Well-Known Member Licensed User Longtime User Mar 7, 2016 #3 There seems to be a giant memory leak with this library. When used together with AHViewPager, the photo viewer is never released from memory (it doesn't seem to detect when the view is removed from the viewpager).
There seems to be a giant memory leak with this library. When used together with AHViewPager, the photo viewer is never released from memory (it doesn't seem to detect when the view is removed from the viewpager).
icefairy333 Active Member Licensed User Longtime User Mar 30, 2016 #4 wimpie3 said: There seems to be a giant memory leak with this library. When used together with AHViewPager, the photo viewer is never released from memory (it doesn't seem to detect when the view is removed from the viewpager). Click to expand... Code: Copy dim pv as photoview pv.init 'and so on 'when you want remove it remember set it to null pv.removeview pv=null just try this maybe useful
wimpie3 said: There seems to be a giant memory leak with this library. When used together with AHViewPager, the photo viewer is never released from memory (it doesn't seem to detect when the view is removed from the viewpager). Click to expand... Code: Copy dim pv as photoview pv.init 'and so on 'when you want remove it remember set it to null pv.removeview pv=null just try this maybe useful