I have a RecyclerView (with an Adapter, ViewHolder, etc.), and I need to update the data (the IEnumerable passed to the Adapter). In order for this to be updated in the RecyclerView, I need to call NotifyAll(). However, this gives me the following message:
Java.Lang.IllegalMonitorStateException: 'object not locked by thread before notify()'
I have seen stuff about Java requiring synchronized locks & other stuff for this. I am not familiar with Java, and I am using C# for this Xamarin.Android app. This is my first Xamarin.Android app, so I am new to RecyclerView and Android. Can anybody help my figure out how to update my RecyclerView from an external method? Thanks.