1
Answer

Array index display in Android

Riya Sehgal

Riya Sehgal

13y
2.6k
1
Hi All,

I have a problem in my android application, I am displaying some items inside a gridview in Android application(Items I stored in Array) and when I click on particular item the index of that item displayed the problem is that the index is start displaying from 0 but I want it to display from 1. What should I do.....?    

This is I done on the ItemClick:

         ItemsGridView.ItemClick += delegate(object sender, ItemEventArgs args)
  {
  Toast.MakeText(this, (args.Position).ToString(), ToastLength.Short).Show();
  };
Answers (1)