Comments (1)
you can fix this in Sneaker
private fun setTargetView(targetView: Any) {
this.targetView =
when (targetView) {
is Activity -> {
isActivity = true
targetView.window?.decorView as ViewGroup
}
is Fragment -> targetView.requireActivity().window?.decorView as ViewGroup
is ViewGroup -> targetView
else -> null
}
}
from sneaker.
Related Issues (20)
- Supports padding and margin. HOT 2
- Runtime bug and crash app HOT 3
- How to change Text color? HOT 2
- iOS fork? HOT 1
- Sneaker doesn't appear when statusbar is translucent HOT 4
- Error Message Sneaker stays on the screen, doesn't disappear automatically
- [BUG] When activity is closed, and sneaker is visible..the activity crashes HOT 2
- Pre-Lollipop visibility issue
- OnSneakerDismissListener no response HOT 1
- Message Text always has a white background (see photo) HOT 1
- don't show text on api 23
- Doesn't appear on Android4.4
- Sneaker Position
- OnDismiss is called after few seconds
- How to change title and msg textSize? HOT 1
- sneaker is not displaying top of the bottomSheet Dialog
- InComplete Alert Message HOT 5
- Could not resolve Sneaker in gradle
- custom view can not get focused
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 sneaker.