Monday, 6 July 2020

Visual Studio Install Package Manually Using Package Manager Console.

1. Download Nuget.exe  and save this file to your project location.
2. Open CMD as Administrator 
3. Open the your project location in cmd.
4. Now execute following commahn
5. nuget restore SolutionName.sln

This will download the all required packages

Friday, 8 May 2020

Cannot access a disposed object in Xamarin Form (4.6) - Android

If you are getting error like Cannot access a disposed object while Selecting the ListView Item in Android.

Solution: Just set the ListView CachingStrategy to : RecycleElementAndDataTemplate

 <ListView x:Name="list"  CachingStrategy="RecycleElementAndDataTemplate"  ItemsSource="{Binding Employees"   ItemSelected="list_ItemSelected"/>