Giter VIP home page Giter VIP logo

demoprogressviewslibapp's Introduction

Hi there ๐Ÿ‘‹

๐ŸŒฑ I am an Android and Flutter enthusiast, living currently in Germany.

๐ŸŒฑ In addition to coding, I have a passion for โ˜• coffee and a love for ๐Ÿƒโ€โ™€๏ธ running.

Static Badge

GitHub Status

demoprogressviewslibapp's People

Contributors

natasam 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demoprogressviewslibapp's Issues

Gradle finished wit 1 error and 4 warnings

i added
repositories {
maven {
url "https://jitpack.io"
}
}

then
dependencies {
compile 'com.github.natasam:DemoProgressViewsLibApp:fa2f8f01e0'
}

12:48:26 PM Gradle sync started
12:48:32 PM Gradle sync completed
12:48:32 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
12:48:35 PM Gradle build finished with 1 error(s) and 4 warning(s) in 3s 379ms
1:08:11 PM Gradle sync started
1:08:21 PM Gradle sync completed
1:08:23 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
1:08:30 PM Gradle build finished with 1 error(s) and 4 warning(s) in 8s 11ms
1:09:35 PM Gradle sync started
1:09:41 PM Gradle sync completed
1:09:41 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
1:09:46 PM Gradle build finished with 1 error(s) and 4 warning(s) in 5s 668ms

How to add

How to add this library to the project?

Error in fragment

Hi
after use this library error in fragment

java.lang.ClassCastException: com.natasa.progressviews.CircleProgressBar cannot be cast to android.view.ViewGroup
at yadbegir.jfa.mansoor.com.yadbegirApp.fragments.StoreFragment.onCreateView(StoreFragment.java:39)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)

Add text in center of arc

Hi,

I wanted to add text in centre of arc just like you did in a circle view. Is there any function, through which I can add it? Are you going to release another version with this change please?

Why I am not getting OnProgressViewListener callback ?

I have used CircleProgressBar in fragment ๐Ÿ‘
in xml as below:
<com.encrest.escooter.customui.circularProgressBar.CircleProgressBar
android:id="@+id/circleProgressBar"
android:layout_width="@dimen/_150sdp"
android:layout_height="@dimen/_150sdp"
android:layout_gravity="center"
android:layout_marginTop="@dimen/_25sdp"
app:bar_color="#b5b6b9"
app:bar_width="12dp"
app:progress="75"
app:progress_color="#d3f115"
app:progress_width="10dp"
app:text_color="@color/colorWhite" />

In fragments's onCreate View:
circleProgressBar = view.findViewById(R.id.circleProgressBar);
circleProgressBar.setWidthProgressBackground(25);
circleProgressBar.setWidthProgressBarLine(25);
circleProgressBar.setTextSize(30);
// circleProgressBar.setBackgroundColor(Color.LTGRAY);
circleProgressBar.setStartPositionInDegrees(ProgressStartPoint.DEFAULT);
circleProgressBar.setOnProgressViewListener(new OnProgressViewListener() {
@OverRide
public void onFinish() {
Log.e("done");
Toast.makeText(getContext(), "Done", Toast.LENGTH_SHORT).show();
circleProgressBar.setText("done", 50, Color.WHITE);
}

        @Override
        public void onProgressUpdate(float progress) {
            Log.e("data");
        }
    });

But not getting anything in Log.
Please help me if I am missing something or doing wrong

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.