fede87 / statusbaralert Goto Github PK
View Code? Open in Web Editor NEWTelegram X inspired android status bar alert view
License: Apache License 2.0
Telegram X inspired android status bar alert view
License: Apache License 2.0
On Android 7, after animation of staus bar ends, the status bar changes to WHITE color, not to the original status bar color
How do I know if the status bard alert is already attached to the window or basically get the current status of the alert to see if it is attached/removed/ dismissing etc? Couldn't find the same in the documentation.
Fatal Exception: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5341)
at android.view.ViewGroup.addView(ViewGroup.java:5162)
at android.view.ViewGroup.addView(ViewGroup.java:5102)
at android.view.ViewGroup.addView(ViewGroup.java:5074)
at com.fede987.statusbaralert.StatusBarAlert$showInternal$2.run(StatusBarAlert.kt:189)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8381)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Hey mate, first of all I want to say congrats to the work that you have made here.
Its a really good library, to be honest.
But I'm facing a issue that is making me really crazy.
I'm calling the StatusBarAlert message and, after that, I call the setAdapter
to populate my RecyclerView.
But, the onBindViewHolder its not called. Not until I scroll the empty Recycler, who is setted to "match_parent".
I tried to change the StatusBarAlert to a simple SnackBar, and it made my recycler work again.
Do you imagine what is causing this trouble with Recycleview?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.