Magnet icon indicating copy to clipboard operation
Magnet copied to clipboard

A library for creating a window icon, similar to Facebook's chat heads.

Results 5 Magnet issues
Sort by recently updated
recently updated
newest added

The magnet initial position (or `setInitialPosition(x,y)` ) is not working right -- the `x` parameter (setting horizontal position) would never work, since the spring effect every update when moving --...

Occasional crash on some devices on Android 10 Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference at com.premnirmal.Magnet.Magnet.onGlobalLayout(Magnet.java:488) at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1056) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2818) at...

**crash in VERSION 7 and WORKING IN 8 OREO** > ` java.lang.IllegalArgumentException: View=android.widget.FrameLayout{e3fb200 V.E...C.. ......I. 0,0-210,210} not attached to window manager at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:473) at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:368) at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:99) at com.premnirmal.Magnet.Magnet$WindowManagerPerformer.onSpringUpdate(Magnet.java:666) at...

Are there any plans to add support for Android P (API 28)?

Hello, I found the following exception when I trying to destroy second magnet instance used as a preloader. **The exception is following:** > 10-24 09:18:47.395 12745-12906 A: java_vm_ext.cc:504] JNI DETECTED...