Listview scroll to botton on new insert

ShaunGrechShaunGrech ✭✭USMember ✭✭
edited April 2016 in Xamarin.Forms

Hi guys,

Do you know how I can scroll to the bottom of a ListView automatically when a new item is inserted. I've tried using the ListView.scrollTo() but it only works when triggered via a button click. I'm also open to solutions using custom renderers.

I am building a chat application and I want the new row to be displayed as soon as it is written.

Help is appreciated.

Thanks

Best Answer

Answers

  • ShaunGrechShaunGrech ✭✭ USMember ✭✭

    That's great, its working using the BeginInvokeOnMainThread.

  • RaymondKellyRaymondKelly ✭✭✭ USMember ✭✭✭

    Is this working for you on iOS? It always goes to next to last item in list. You just cannot get to the bottom.

Sign In or Register to comment.