Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

fix the issue which will broken when close the hardware acceleration in API19. #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjkohoh
Copy link

@mjkohoh mjkohoh commented Mar 11, 2014

In API19,if you set hardware acceleration in false.The SlidingLayer will throw a RuntimeException.
The reasone is the DrawingCacheEnable has been set in false too early.

In my commit,I set DrawingCacheEnable in false only when mScrolling and mIsDraging is false.And make sure it is only be called when 'onDraw' is finished.I

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant