Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

setAllowSettingValueByTouch disabled icon touch event #2

Closed
NoelChew opened this issue Apr 28, 2018 · 2 comments
Closed

setAllowSettingValueByTouch disabled icon touch event #2

NoelChew opened this issue Apr 28, 2018 · 2 comments

Comments

@NoelChew
Copy link

I would like to get icon touch event callback and disable setting value by touch.
This is my code

arcChartView.setListener(new ArcChartView.AcvListener() {
            @Override
            public void onSectionsIconClicked(int i) {
                String[] displayTextArray = activity.getResources().getStringArray(R.array.radar_plot_icon_label_array);
                Toast.makeText(activity, displayTextArray[i], Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onStartSettingSectionValue(int i, int i1) {

            }

            @Override
            public void onContinueSettingSectionValue(int i, int i1) {

            }

            @Override
            public void onFinishedSettingSectionValue(int i, int i1) {

            }
        });
arcChartView.setAllowSettingValueByTouch(false);

However, arcChartView.setAllowSettingValueByTouch(false) will remove icon touch event callback.

@imaNNeo
Copy link
Owner

imaNNeo commented Apr 29, 2018

yes you'r right,
i will fix it

imaNNeo added a commit that referenced this issue Apr 29, 2018
@imaNNeo
Copy link
Owner

imaNNeo commented Apr 29, 2018

Fixed, Thanks!

@imaNNeo imaNNeo closed this as completed Apr 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants