Giter Site home page Giter Site logo

Interoperability with JAVA about hauler HOT 5 CLOSED

futuredapp avatar futuredapp commented on June 21, 2024
Interoperability with JAVA

from hauler.

Comments (5)

skywall avatar skywall commented on June 21, 2024

Hi @mparyani445,

can you elaborate more on what do you want to achieve and what error you get?

This library should work as-is with Java.

from hauler.

mparyani445 avatar mparyani445 commented on June 21, 2024

Thanks for the prompt response.
Actually I have implemented whatsapp like story highlights in one of my project, i want to achieve drag from top to dismiss the Story activity like whatsapp does.
I came across your library to achieve,
I want to know how to use below code in activity written in JAVA

override fun onCreate(savedInstanceState: Bundle?) {
  haulerView.setOnDragDismissedListener {
        finish() // finish activity when dismissed
    }
}

I am not able to use setOnDragDismissedListener method in java
can you please help ?

from hauler.

skywall avatar skywall commented on June 21, 2024

Hi @mparyani445, thank you for your report. I have fixed the issue within PR #21. I'm going to release a new version today.

from hauler.

skywall avatar skywall commented on June 21, 2024

Released. Feel free to try if the current solution is suitable for your needs and close the issue.

from hauler.

mparyani445 avatar mparyani445 commented on June 21, 2024

Hey,
Thanks a ton!
Now I am able to use it in JAVA as well.

from hauler.

Related Issues (17)

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.