How to change the button output. Instead of questions it should show some more buttons.

using System;
using System.Linq;
using NativeUiLib; //This ads the GUI contols. Minor abstractions over Xamarin.Android/Mono.Android
namespace Indian_Politics;

public static class Program
{
public static void Main()
{
int i = 1;
var lay = new LinearLayout();
var btn = lay.AddButton();
btn.Text = "Start";

btn.Click += delegate
{
btn.Text = i.ToString();
i++;
};

lay.Show();

}
}
using System;
using System.Linq;
using NativeUiLib; //This ads the GUI contols. Minor abstractions over Xamarin.Android/Mono.Android
namespace Indian_Politics;

public static class Program
{
public static void Main()
{
int i = 1;
var lay = new LinearLayout();
var btn = lay.AddButton();
btn.Text = "Start";

btn.Click += delegate
{
btn.Text = i.ToString();
i++;
};

lay.Show();

}
}
1 Reply
•Krishna•
•Krishna•OP9mo ago
How to change the button output. Instead of questions it should show some more buttons.
Want results from more Discord servers?
Add your server