/// <summary>
 /// Utility shorthand to FindViewById on current view.
 /// </summary>
 /// <param name="id">View Id.</param>
 /// <typeparam name="T">The type od the View behind the Id.</typeparam>
 protected T FindViewById <T>(int id)
     where T : View
 {
     return(RootView.FindViewById <T>(id));
 }
Ejemplo n.º 2
0
 protected T FindViewById <T>(int id) where T : View => RootView.FindViewById <T>(id);