michelelacorte / FlickLauncher

Pixel Launcher for everyone!
Apache License 2.0
290 stars 78 forks source link

fix shortcut view disappear when long click on item #59

Open RuiwenTang opened 7 years ago

RuiwenTang commented 7 years ago

Hi: When I compile this launcher and pushed into my phone, I found the Shortcuts view often disappear when I long click on an item. After reading the code, I think the root cause is because the DragController receive a TouchEvent with ACTION_MOVE type, and in its onTouchEvent callback call ShortcutsCreation.clearAllLayout(). Maybe this is only happening on my phone, but I think do some movement checking is helpful.

RuiwenTang commented 5 years ago

Hi, I cannot build this source code after I download from Github because this source lack some source files. Could you send me a full source code? Thank you

you can refer the commits in branch self_dev of my forked project