Comments (5)
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.
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.
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.
Released. Feel free to try if the current solution is suitable for your needs and close the issue.
from hauler.
Hey,
Thanks a ton!
Now I am able to use it in JAVA as well.
from hauler.
Related Issues (17)
- Issue with non androidx project HOT 1
- Sample: Animate Activity UP after up dismiss gesture
- It would be great to have possibility to set a drag listener HOT 2
- Hauler & ConstraintLayout HOT 9
- Bintray deploy
- Set up Github Actions
- Transparent navigation bar HOT 4
- Animation transition in tablet doesn't look good HOT 4
- Bump libs
- Black status bar and blinking navigation bar after multitasking HOT 5
- Example request: Hauler and CollapsingToolbar
- Hauler and ViewPager HOT 1
- Consider re/publishing artifacts elsewhere HOT 3
- disable swipe up HOT 3
- Background Activity not view
- With viewpager not working HOT 2
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 hauler.