question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get the examples working

See original GitHub issue

First 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:

  1. 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)
  1. 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
  1. When creating a SkeletonDrawable for a ViewGroup, how then to select which child views that should be skeletonable?
  2. Is it possible to make a View skeletonable without going through it parent, or is the same case as 3. question?
  3. In the readme setCornerRadius() should be changed to setCornerRadii()

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
EudyContrerascommented, Apr 20, 2021

@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

1reaction
EudyContrerascommented, Apr 6, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found