android - Assign positive and negative button a dialogfragment with custom view and buttons -


i using dialog fragment custom view. has tick mark below. want assign tick "postive button".

setpositivebutton takes string in common way.

    builder.setpositivebutton("ok",             new dialoginterface.onclicklistener() {                 public void onclick(dialoginterface dialog, int whichbutton) {                     getdialog().dismiss();                 }             }     ); 

enter image description here


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -