Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not click able #20

Closed
24Lathiya opened this issue Dec 25, 2018 · 4 comments
Closed

Not click able #20

24Lathiya opened this issue Dec 25, 2018 · 4 comments

Comments

@24Lathiya
Copy link

24Lathiya commented Dec 25, 2018

Not able to click on view. i used progressbar to show download progress on image and i want to cancel download on click but as i said i am not getting click event on click CircularMusicProgressBar. please fix issue ASAP. Thanks

xml:

<info.abdolahi.CircularMusicProgressBar
                xmlns:app="http://schemas.android.com/apk/res-auto"
                android:id="@+id/action_download_stop"
                android:layout_width="42dp"
                android:layout_height="42dp"
                android:padding="8dp"
                android:layout_gravity="center"
                android:src="@drawable/download_cancel"
                app:border_color="#fff"
                app:border_width="2dp"
                app:progress_color="#41c15c"
                app:progress_startAngle="0"
                app:enable_touch="true"
                app:draw_anticlockwise="false"
                android:visibility="gone" />
@Bruce8hou
Copy link

me too

@24Lathiya
Copy link
Author

@aliab Please fix this issue ASAP. Thanks

@whizsid
Copy link
Contributor

whizsid commented Dec 25, 2019

@24Lathiya @Bruce8hou You can override the onClick method in OnCircularSeekBarChangeListener class.

This worked for me:-

fileChooseIcon.setOnCircularBarChangeListener(object: OnCircularSeekBarChangeListener{
            override fun onClick(circularBar: CircularMusicProgressBar?) {
                this@MainActivity.onClickFileChooseIcon()
            }

            override fun onLongPress(circularBar: CircularMusicProgressBar?) {
                TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
            }

            override fun onProgressChanged(
                circularBar: CircularMusicProgressBar?,
                progress: Int,
                fromUser: Boolean
            ) {
                TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
            }
        })

@aliab
Copy link
Owner

aliab commented Apr 25, 2021

@24Lathiya update to 1.4.0 please

@aliab aliab closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants