Comments (6)
I was about to start playing with this, but it looks like this Physics-based support lib has API 16 as its MinSDK.
Should I give up or does that pose no problem?
API 14 and 15 have ridiculously low market share.
https://developer.android.com/about/dashboards/index.html
from floatingview.
Thank you for your information.
The feature is not incorporated immediately.
I want to develop it while exchanging information with everyone.
from floatingview.
I'm really sorry but.. Your English is not the best and I can't say I'm sure I understand.
You mean to say it's not a priority and you still need to investigate?
In any case, I'd like to work on it because my app will make use of this library and I think it needs this.
I've been working on it for the past few hours and I've been facing an issue where a VelocityTracker gives me some wrong velocity data when flinging the FloatingView. (The Physics library uses the initial velocity to compute the SpringAnimation or FlingAnimation)
I.e. I'm flinging the view so that it moves to the top of the screen and the velocitytracker will sometimes tell me I moved it in the opposite direction. This leads to very random movement in the app.
This comment on StackOverflow seems to say that calling WindowManager.updateViewLayout messes with the VelocityTracker.
from floatingview.
You can check out what I mean on my repository:
https://github.com/geecko86/FloatingView
from floatingview.
I am faced with this problem too.
I'm continuing to investigate to solve it.
https://stackoverflow.com/questions/44825129/velocitytracker-gives-me-wrong-velocity-because-of-updateviewlayout
Update:Probably resolved
1680338
from floatingview.
Sorry for being late.
Support Ver 2.3.0
from floatingview.
Related Issues (20)
- addViewToWindow() crashes with IllegalStateException HOT 10
- get the removing view instead of coordinate
- Laggy floatingview HOT 8
- NullPointerException on mVelocityTracker
- Can't move view on some devices HOT 3
- getDisplayCutout() on a null object reference HOT 5
- old bug (#88) HOT 2
- Support Android Q HOT 3
- sample not work.
- NPE in addMovement HOT 1
- android x migration HOT 1
- Crash on display with oreo 8
- Support Android P HOT 5
- Caused by: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@990cb01 -- permission denied for window type 2038 HOT 2
- startObjectAnimation() only updates either X or Y
- Bugs on Galaxy S9+ HOT 7
- FloatingViewManager.removeAllViewToWindow() causes IllegalArgumentException HOT 1
- Floating view disappear in API level 26 HOT 1
- NullPointerException in onTouch, due to .getState() HOT 3
- Can't remove floating view HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatingview.