Can't get the examples working
See original GitHub issueFirst thanks for what seems like a great library with great technical solution to the problem and good documentation as well.
But I can’t get it to work, so I have a few questions/bug findings:
- We are not using databinding, but I there seems also to be a great api for that case. But trying to use the examples only gives me a black box, no animation at all. I have tried to set almost every property without any animation as a result. What is the problem do you think?
SkeletonDrawable.create(this).apply {
this.getProps().apply {
this.enabled = true
this.allowSavedState = true
this.shimmerRayProperties.apply {
this.shimmerRayThickness = 10.dp
this.shimmerRayTilt = 0.3f
}
}
}
SkeletonDrawable.create(this)
.build()
.setEnabled(true)
.setAllowSavedState(true)
.withShimmerBuilder {
setThickness(10.dp)
setTilt(0.3f)
setAnimationDuration(300L)
}
.setCornerRadii(3f)
.setColor(MutableColor(appCtx.getColor(R.color.green)))
.withBoneBuilder(generateId()) {
setColor(MutableColor(appCtx.getColor(R.color.lemon)))
setMaxThickness(12.dp)
setMinThickness(10.dp)
setCornerRadii(CornerRadii(3f))
setEnabled(true)
setTransitionDuration(300L)
}
.setUseStateTransition(true)
- There are quite a few properties from “Example Usages 1” that does not seems to be accessible from the other approaches. Some of them seems important, is I just me that can’t find them?
app:skeletonGenerateBones
app:skeletonAnimateRestoredBounds
- When creating a SkeletonDrawable for a ViewGroup, how then to select which child views that should be skeletonable?
- Is it possible to make a View skeletonable without going through it parent, or is the same case as 3. question?
- In the readme setCornerRadius() should be changed to setCornerRadii()
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (15 by maintainers)
Top Results From Across the Web
I can't get PyWinUSB examples to work - Stack Overflow
I'm trying to get the examples from pywinusb to work, but to no avail. My setup is: python3.3 on Windows7-64 bits; pywinusb-0.3.2 installed ......
Read more >How To Handle a Lack of Support at Work (And Why It's ...
Examples of hardships include making a mistake on one of your tasks and participating in a project that fell short of reaching your...
Read more >pgfgantt: Can't get the examples work correctly [closed]
I need to make some Gantt Diagrams for a budget, and found on the web the pgfgantt package, which looks amazing. Unfortunately I...
Read more >Connection refused on sidecar proxy: can't get minimal ...
I'm trying to play around with Consul connect sidecars. I want traffic from the multitool to be proxied to httpbin.
Read more >10 Common Workplace Challenges and Solutions - ZoomShift
There are many challenges that come with working in an office. ... remember is that more time spent at work doesn't necessarily mean...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mortenholmgaard I will try to find sometime to address, I have unfortunately been very busy and unable to put time into the library. I have a feeling that I will soon get the chance again to work on it more consistently. I am sorry for any inconvenience this may cause. I will also keep you updated with any work or update that have been made
Hey @mortenholmgaard sorry I have not addressed this yet, I have been busy with my day job and family and I only have the ability to work on this on the late evenings. I believe I will have a chance work on this library and address the issues before the end of the week 🙏 . Ill ping you as soon as I have an update. Sorry for any inconvenience