android-flip icon indicating copy to clipboard operation
android-flip copied to clipboard

flash when flipping

Open senthil4589 opened this issue 11 years ago • 9 comments

hi openaphid team, thank you for provide this wonderful flip library. i am using your library everything fine but when forward flip sometimes backward also occur some flash issue. how ti fix this?

senthil4589 avatar Nov 19 '13 11:11 senthil4589

same problem here, anyone have some suggestion to solve it ?

SmallDream avatar Nov 26 '13 02:11 SmallDream

hi OpenAphid,

I am also facing same problem.Please help me on this.

harishthallapally avatar Nov 26 '13 11:11 harishthallapally

I have encountered the same issue right now Please help me Thanks in advances!

manhhoangxuan avatar Dec 11 '13 04:12 manhhoangxuan

Same for me. Would be awesome to have a fix for that... Thank you for this library anyway, it's pretty cool!

kevinmeresse avatar Dec 12 '13 22:12 kevinmeresse

I was fixed this issue by change backgroud of root layout from transparent to white. You can try..

manhhoangxuan avatar Dec 13 '13 15:12 manhhoangxuan

I changed the animationBitmapFormat from RGB_565 to: flip:animationBitmapFormat="ARGB_8888"

Now the flickerings are gone, just sometimes the card's background turns to transparent while flipping

zhuofengli avatar Mar 04 '14 11:03 zhuofengli

Hi, I am using your library for display content in my application . When I used to flip the screen after 30-40 flip i am getting Out Of memory error. Did you face this problem already. How can I fix this error. out of memory exception

loguslm avatar Jun 24 '14 07:06 loguslm

@loguslm same issue here. How did you solve?

bhavesh-hirpara avatar Jul 02 '14 10:07 bhavesh-hirpara

Delay the handler in hideFlipAnimation() private void hideFlipAnimation() { if (inFlipAnimation) { inFlipAnimation = false;

updateVisibleView(bufferIndex);

if (onViewFlipListener != null) { onViewFlipListener.onViewFlipped(bufferedViews.get(bufferIndex), adapterIndex); }

handler.postDelayed(new Runnable() { public void run() { if (!inFlipAnimation) { cards.setVisible(false); surfaceView.requestRender(); //ask OpenGL to clear its display } } },200); }

virendradj avatar Mar 22 '17 09:03 virendradj