Comments (4)
I don't understand your point here. If you want to set click listener for neutral action, you can call neutralActionClickListener(View.OnClickListener)
method.
from material.
That interface is usable for subclasses of Dialog but is not exposed directly by DialogFragment which wraps a builder containing the client listener code.
DialogFragment only links the negative and positive listeners in onCreateDialog() as follows:
dialog.positiveActionClickListener(mActionListener)
.negativeActionClickListener(mActionListener)
.negativeActionClickListener(mActionListener); /* <<<=== duplicate method call */
It looks like one of the duplicates should be a call to .neutralActionClickListener(mActionListener).
I have subclassed the material DialogFragment as a workaround, but it would be great if you could fix the library version.
Excellent library btw :-)
from material.
Ok, I understand now. Thanks, I have pushed a fix to dev
branch.
from material.
That's great, thanks.
from material.
Related Issues (20)
- Dialog on the mainActivity HOT 1
- findViewById in Dialog with ContentView from a xml
- Failed to resolve with version 1.2.5 HOT 3
- Crashing when creating a Dialog
- pink color on api 27 HOT 3
- ProgressView颜色·
- migrate to AndroidX HOT 1
- Cannot build 1.2.5
- After Cloning Library and Rebuilding showing some errors HOT 1
- i use recyclerview with checkbox radiobutton of your material widgets,and it has ui bug,but when i use android widgets such as radiobutton checkbox,it has no ui bug HOT 1
- WE NEED FORK! HOT 2
- Failed to resolve with version 1.3.0 HOT 3
- 整合包错
- 被选中字体放大
- ERROR: Failed to resolve: com.github.rey5137:material:1.3.0 HOT 21
- Redundant cast when using androidx
- my checkbox didn't coming ..
- e commerce
- Checkboc Issue
- Widgets started showing errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material.