Giter VIP home page Giter VIP logo

Comments (6)

geecko86 avatar geecko86 commented on August 23, 2024

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.

YoshihideSogawa avatar YoshihideSogawa commented on August 23, 2024

Thank you for your information.
The feature is not incorporated immediately.
I want to develop it while exchanging information with everyone.

from floatingview.

geecko86 avatar geecko86 commented on August 23, 2024

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.

geecko86 avatar geecko86 commented on August 23, 2024

You can check out what I mean on my repository:
https://github.com/geecko86/FloatingView

from floatingview.

YoshihideSogawa avatar YoshihideSogawa commented on August 23, 2024

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.

YoshihideSogawa avatar YoshihideSogawa commented on August 23, 2024

Sorry for being late.
Support Ver 2.3.0

from floatingview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.