I am trying to give a click functionality to my step indicator. Currently I am using this library from GitHub, https://github.com/badoualy/stepper-indicator.

I saw this library with the click functionality, https://github.com/kofigyan/StateProgressBar But this has only steps until 5.

<com.kofigyan.stateprogressbar.StateProgressBar
        android:id="@+id/your_state_progress_bar_id"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:spb_currentStateNumber="one"
        app:spb_maxStateNumber="five"
        app:spb_stateBackgroundColor="#BDBDBD"
        app:spb_stateForegroundColor="#009688"
        app:spb_stateNumberBackgroundColor="#808080"
        app:spb_stateNumberForegroundColor="#eeeeee"
        app:spb_currentStateDescriptionColor="#009688"
        app:spb_stateDescriptionColor="#808080"
        app:spb_animateToCurrentProgressState="true"
        app:spb_checkStateCompleted="true"/>

more than 5, is not supported.

Is there any library that really supports this or you have any idea that how can this be implemented? I want to go to that viewpager when a state is clicked.

Related posts

Recent Viewed