Exemplo n.º 1
0
 public void OnLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom)
 {
     // If the bottom changed scroll to bottom
     if (bottom < oldBottom)
     {
         _recyclerView.PostDelayed(() =>
         {
             _recyclerView.SmoothScrollToPosition(ViewModel.Items?.Count ?? 0);
         }, 100);
     }
 }