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

Select PieInfo by tap on its label or icon #27

Closed
victorlapin opened this issue Mar 28, 2019 · 13 comments
Closed

Select PieInfo by tap on its label or icon #27

victorlapin opened this issue Mar 28, 2019 · 13 comments

Comments

@victorlapin
Copy link

Right now the only way to select PieInfo is to tap on the chart itself. Can you invoke the selectListener by tapping label text and/or icon?

@razerdp
Copy link
Owner

razerdp commented Mar 29, 2019

I think this feature can be added to the next version.

@victorlapin
Copy link
Author

You may as well add option to the config to enable/disable it

@victorlapin
Copy link
Author

Any news?

@razerdp
Copy link
Owner

razerdp commented May 17, 2019

@victorlapin

sry~I have been maintaining BasePopup recently.So there is no time to maintain this repo.

I will continue to maintain this after the basepopup is released.

@razerdp
Copy link
Owner

razerdp commented May 23, 2019

not continue.

@razerdp razerdp added the fixing label May 23, 2019
razerdp added a commit that referenced this issue May 23, 2019
@razerdp
Copy link
Owner

razerdp commented May 23, 2019

now support that~

However, the new version has not been released yet, and will be released after other issues are completed.

@razerdp razerdp added on way and removed fixing labels May 23, 2019
@victorlapin
Copy link
Author

victorlapin commented May 24, 2019

Many thanks for your work. Can't donate, because I'm not a WeChat or QQ user...

I'm using it here, if you're interested: https://gitlab.com/victorlapin/usage-stats

razerdp added a commit that referenced this issue May 31, 2019
@razerdp razerdp closed this as completed May 31, 2019
@victorlapin
Copy link
Author

Really sorry to bother you again, description labels are working good, but not icons?

@razerdp
Copy link
Owner

razerdp commented Jun 3, 2019

work perfect in demo~
adsf

@victorlapin
Copy link
Author

Okay, let me check once more...

@victorlapin
Copy link
Author

With this config icons without description labels are still not clickable:
AnimatedPieViewConfig() .animatePie(true) .drawText(true) .canTouch(true) .strokeMode(true) .strokeWidth(8) .duration(1000) .startAngle(0F) .textSize(32F) .textMargin(8) .splitAngle(0F) .interpolator(DecelerateInterpolator()) .autoSize(true) .pieRadiusRatio(1F) .animOnTouch(true) .focusAlphaType(AnimatedPieViewConfig.FOCUS_WITH_ALPHA_REV) .focusAlpha(100) .floatShadowRadius(4F) .floatExpandSize(4F) .typeFae(Typeface.create("sans-serif-condensed", Typeface.NORMAL)) .selectListener { pieInfo: UsagePieInfo, isFloatUp -> if (!pieInfo.appName.isNullOrEmpty() && isFloatUp) { Toast.makeText(context, pieInfo.appName, Toast.LENGTH_SHORT).show() } }

razerdp added a commit that referenced this issue Jun 3, 2019
@razerdp
Copy link
Owner

razerdp commented Jun 3, 2019

okay~ got this bug

I create a branch to Recurring problem :branch:issue_27

and I will fix it as soon as possible

@razerdp razerdp reopened this Jun 3, 2019
@razerdp razerdp added fixing and removed on way labels Jun 3, 2019
razerdp added a commit that referenced this issue Nov 2, 2020
razerdp added a commit that referenced this issue Nov 2, 2020
razerdp added a commit that referenced this issue Nov 2, 2020
@razerdp
Copy link
Owner

razerdp commented Nov 2, 2020

pls update to 1.3.0

@razerdp razerdp closed this as completed Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants