m5 / MagicTextView

Other
243 stars 102 forks source link

onDraw loop #2

Closed pakerfeldt closed 10 years ago

pakerfeldt commented 12 years ago

With the current design, onDraw() is doing stuff that eventually will have the entire view invalidated, thus calling onDraw again and we're stuck in an infinite loop. This widget shouldn't really be used until this is fixed.

RoundSparrow commented 10 years ago

FYI: I don't see this problem - tested on Android 4.4 by putting a logcat in the onDraw

m5 commented 10 years ago

So, this was once an issue, but I'm pretty sure I fixed it. I just hooked up to a profiler, also on 4.4, and everything seemed fine.