Giter Site home page Giter Site logo

jdevzone / fillprogresslayout Goto Github PK

View Code? Open in Web Editor NEW
86.0 2.0 15.0 2.63 MB

A simple and flexible Fillable Progress Layout written in Kotlin

License: MIT License

Kotlin 100.00%
fill-pro progressbar layout kotlin rounded-corners ui-components view progress-view progress-indicator ux

fillprogresslayout's Introduction

GIF

JDevZone

Snake animation

fillprogresslayout's People

Contributors

jdevzone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fillprogresslayout's Issues

Feature request: Better presentation for smaller values

Currently all works nice for values above 60.
But for smaller values they not scale well. Sure we could increase values, but it would be nice if for smaller duration values progress and duration probably should scale to make it look nicer.
Current warkorond is multiply all values, but this workaround should not be required.

setProgress not work in onViewCreated()

this line not work in onViewCreated() of Fragment

        progressbar.setProgress(50, false)

Reason:

initUI() called setProgress() with an animate before, any following setProgress() not work until animate finished.

Fix: the loading should not perform any animate

Line 137 inside initUI()

                setProgress(progress, false)

How clear listeners?

Nice library. Thanks for sharing it. i'd like to know if a can clear de listener. I was triying to set the progress 0 after it ends, but it crashed and i see the set function needs a non null listener.

Captura de Pantalla 2021-06-09 a la(s) 17 39 47

Impossible set custom color

How can I set a custom dynamic color from String (Exadecimal)

mProgress.setProgressBackgroundColor(Color.parseColor("#EEEEEE"));
mProgress.setProgressColor(Color.parseColor("#AAAAAA"));

Add support for reverse progress loading

It would be great if you can include progress indicator for reverse direction i.e progress being 100% in fill state with masking color over it, and when actual progress increases we reveal the actual image i.e going from 100 to 0 progress state. This is a enhancement request.

Problems using in RecyclerView

If I use FillProgressLayout as a progress inside an item in ViewHolder in RecyclerView...there are some problems when the view is recycled on scroll up and down.
How can I solve this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.