Vincent Te Tau
Vincent Te Tau
Hmmm, I'm not sure if this OOM is being caused by the PeekAndPop library, however if you have your code here on Github I can pull it down and check...
How large are your image files? I would suspect your problem lies there and not with the PeekAndPop library.
Strange, those images don't seem to be terribly large. Does this crash occur consistently at the same point? It might pay to do a memory heap dump before it crashes...
I'm still not sure if the library is causing this OOM. It's probable that you have a memory leak somewhere and that the library is simply the hitting the limit...
I'm assuming you're using Android Studio, in the android panel (where logcat is located), click on memory tab. This will show you a graph of memory allocation in your app,...
Hello, is the MotionEvent.ACTION_CANCEL event being received by the PeekAndPopOnTouchListener? Or is it being intercepted by another view/listener?
Hi, I believe the problem was to do with the small latency between the longHoldTimer and and the Runnable within it that was ran on the UI thread. This meant...
Oh ok, I'm finding it quite hard to reproduce (I clicked over 200 times). I've made another change in a separate branch that mayhave fixed it. https://github.com/shalskar/PeekAndPop/tree/bugfix-persistentpeekview Try that out...
In response to your message on the other issue: "hello shalskar, Do you have any forked user who make this library better after forking and get more star? If you...
Are you calling peekAndPop.destroy() in your activity's onDestroy() method? Are you still getting the bug even when you don't lock/unlock the device?