ERROR : XF requires .NETFramework >= v4.7. You have 'v4.6.1'
hi everyone!!! i am getting this error when i am building my project. i have installed framework 4.7 in my visual studio but still project is targeting framework '4.6.1'. i don't know what to do?
View Article[XF] Could not load assembly System.Buffers 4.0.2.0 on Android
I've been trying to use EF Core in a test project, but unfortunately I get an error at build time. I've been consulting this guide As soon as I add the Microsoft.EntityFrameworCore and...
View ArticleDynamic change StyleClass for VisualElement
How change programatically add one and remove another (in other words) make a replace of one class to another?
View ArticleBle does not scan when run
Previously, I added code using the plugin Bluetooth LE plugin for Xamarin to scan for ble devices. It had worked for a while but I have since updated to the latest version of Xamarin and Visual Studio,...
View ArticleException throws when saving file in Android device in ExternalStorageDirectory
I faced a problem when saving file in the Android device in external storage location. Xamarin.Forms Android project details: Target Framework : Android 8.1 Minimum Android version: Android 4.4 Target...
View ArticleHow to get the width and height of a frame view for xamarin forms for iOS?
I have implemented a gradient background color for frame and grid view.Its perfectly working fine in android but in iOS i have to mention the width and height static. mainView = new UIView(new...
View Article[Xamarin.Forms] : How to save ContentPage UI as a PDF and Print.
I want to design a Layout and Print it on A4 page. So, How do I save Content Page as a PDF and Fire it on Network Printer. Platforms: Android UWP IOS
View ArticleI am unable to set the particular page in Carousel view
Hi, I am implemented the Carousel view using https://blog.xamarin.com/flip-through-items-with-xamarin-forms-carouselview/. And I am able to implement the Carousel, **But My Problem I want to set the...
View ArticleError: The name AuthenticationState does not exist in the current context
I am doing google signin for my project . I am getting this error: 'The name AuthenticationState does not exist in the current context' in the MainActivity.cs page .Please see the attached screenshot....
View ArticlePhoneword example: encapsulate Xamarin.Forms don't work for Android.
Hi, I'm very new to C# and Xamarin, so please excuse me. I'd like to encapsulate the Xamarin.Forms methods from the MainPage into an own Forms.cs. The UWP works fine, but the Android project freeze and...
View ArticleType mismatch on Bindableproperty
Hi, I have following codes in my custom view class and xaml files: my custom property: public static readonly BindableProperty LabelColorProperty = BindableProperty.CreateAttached("LabelColor",...
View ArticleXamarin.Forms - Can't get geolocation
Hi, I am trying to use the code from this article: https://docs.microsoft.com/en-us/xamarin/essentials/geolocation?tabs=android but "using Xamarin.Essentials" leads to compile-time error: Error CS0234...
View ArticlelistView binding
How to Bind the ListView with an Observablecollection type where the type itself an observable collection. My MVVM like below ViewModel public class OrdersViewModel { public...
View Articlewhere we using task async and await method in xamarin forms ?
Hello guys can you describe me where we are using task async and await method in xamarin forms ?
View ArticleApk size is too large.How to reduce it?
In my xamarin form application I am using Telerik.but when I release my apk for playstore,the apk size taking 86 mb..so how to reduce it? I checked all linking setting,while using sdk and user...
View ArticleDependency Injection best practice ?
I am trying to use Dependency Injection in my project but its still new to me. I've read quite a lot of tutorials but I still don't what is the best practice to create pages or viewmodels.. It seems...
View ArticleAutomationID Showing inconsistently
I have had this problem for some time. If I add AutomationID to, e.g., 5 controls on a page, and then run app.Repl(), I see one or two of the controls with their AutomationID but most without. Have you...
View ArticleUsing Slider with audio
I need an example to change the position of the audio, but using the slider control?
View ArticleXamarin Android:
Hi, We are using Xamarin forms to develop our application. For xamarin Android (apk) application some security audit happen & they have found some security issue in our application. "Found elf...
View ArticleIs possible to avoid slow startup time of xf app on Android in this way?
I made a big xamarin form app for ios and android, all is working great, but on Android app take till 8 seconds to starts. I already try to use XAML Compilation and AOT...the AOT gain 2seconds, but it...
View Article