Skip to content
This repository was 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
mjkohoh wants to merge 1 commit intomicrosoftarchive:masterfrom
mjkohoh:master
Open

fix the issue which will broken when close the hardware acceleration in API19.#50
mjkohoh wants to merge 1 commit intomicrosoftarchive:masterfrom
mjkohoh:master

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.

1 participant