Skip to content

Improvement: Add the ability to pass an index to setItemColor() #12

Description

@hansemannn

Hey there,

first things first: This library is amazing! We from the Appcelerator cross-platform community already wrapped it to be used from JavaScript via Ti.BottomSheet and it works great.

One suggestion that's open for discussion: On iOS, there is a destructive property on the UIAlertController which, presented as an ActionSheet shows the selected option as a "critical" option. So if setIconColor would not only allow to pass a color resource-id but also an index, the developer (especially in the cross platform world) could construct the same concept on Android.

I am not sure if this would still be "full native Android" then and would love to hear your feedback on this. As bottom sheets gain more and more popularity these days, it would be a great addition!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions