Tutorial by Examples

// 1. Instantiate an AlertDialog.Builder with its constructor // the parameter this is the context (usually your activity) AlertDialog.Builder builder = new AlertDialog.Builder(this); // 2. Chain together various setter methods to set the dialog characteristics builder.SetMessage(Resource.Str...
We shall create a simple Alert Dialog in Xamarin.Android Now considering you have gone through the getting started guide from the documentation. You must be having the project structure like this: Your Main Activity must be looking like this: public class MainActivity : Activity { ...

Page 1 of 1