Searchbar in the TitleView
With the release of Xamarin Forms 3.2.0 they introduced the TitleView property of the NavigationPage. At first I thought this would be a great way to display a search bar up the the navigation bar...
View ArticleHow to navigate to pages within tabs and from a master-detail page to a...
After successful login, the app takes the user to the tabbed page that also has master-detail page. I use this command on LoginPageViewModel: await...
View ArticleToolbaritems, I have set font awesome text icon, it's not display in iOS.
I have set Font awesome icon in Text of Toolbaritems, It was working properly. But after set Navigation bar Property using :...
View ArticleListview Grouping - access Group property from group item
Hello! I have an ObservableCollection<MyGroup> Groups {get;set;}public class MyGroup : ObservableCollection<MyItem> { public bool MyProperty{get;set;} } and I have a ListView with...
View ArticleHow to fire event on custom renderer element and display alert
I dropped a pin on google map in a renderer class and wanted to get its tap event to display alert. Clicked property didn't display alert so I tried BindableObject to get a tap event fired in a shared...
View ArticleHow to do OnPlatform for ViewCell.ContextActions?
Below given is my DataTemplate with ContextActions. But I want the ContextActions be active / created only for Android. How can I do it? <ContentPage.Resources> <ResourceDictionary>...
View ArticleHow to select multiple images from gallery for android and IOS device and how...
Same thread found here. But the answer is not complete. Android part multiple image selection is working with that code, but didn't tell how to show the selected images in UI? For IOS suggesting to...
View ArticleXamarin forms iOS app installed but not opening iOS 12 devices
iOS app install on ios 12 device but not opening it give alert "This app needs to be updated by the developer to work on this version od iOS'. Attached configuration screen shot deployment Target 9.0
View ArticleHow can we select the default page on a MasterDetail project?
I am new to Xamarin.Forms and have created a new project from the MasterDetail template. I have added a new content page to the project an made the required changes to add it the menu. All is fine...
View ArticleAre there any samples around for a webview with a custom renderer and file...
I have an Xamarin Forms application with a webview and custom renderer in the IOS project, but it crashes if you attempt a file upload. I can't find a reason for this, but wondered if there were any...
View ArticleXamarin Forms Admob Banner stopped filling row with auto height
Hi! I've recently started to face an issue with Admob's banners, more specifically smartbanners. They simply stopped filling the height of the parent row, which's set for Auto. The code is usually...
View ArticleAdvice on framework prism vs Reactive UI mainly
Am fairly new to Xamarin forms with just developed two apps in total which are basically small apps to be fair enough so was using Xamarin.Forms itself. But currently need to work on a pretty big...
View Articlewhat approach to use a specific component that is only available for iOS or WPF?
what approach is used to create a specific component that is only available for one platform? Can I use Custom Renderer or DependencyService or any other approaches is there ?
View ArticleReplacing the bubbling effect when rendering views by fading effect?
Usually when views are rendered, they show up instantly by going from opacity = 0% to 100% in 0 milliseconds, I want to override this behavior so the transition occurs smoothly, like when images are...
View ArticleGetting error: The type 'Object' is defined in an assembly that is not...
I am converting my PCL project to .Net Standard project using this article. But getting the following error when building. I try adding netstandard reference like below from this thread, but no luck....
View ArticleIcon & text inside a button
Hello everybody, I'm here because I have a problem to display an icon and text inside a button. All is right with the iOS part but the Android one is a bit more sneaky. I'm using Xamarin.Forms so I...
View ArticleDownloaded masterdetailpage sample code from github, getting error while run
I have downloaded masterDetail Page demo from github (https://github.com/xamarin/xamarin-forms-samples/tree/master/Navigation/MasterDetailPage) which is mentioned on -...
View ArticleMaster detail page: PopModalAsync from detail brings back to root
Hello everyone, I've been struggling with this super-strange issue. Here is the flow : from a master-detail page "Catalog" I PushAsync to a page "BookViewPage". Then that "BookViewPage" PushModalAsync...
View ArticleSwipeGesture and ScrollView don't work together on Android
I use Grid with SwipeGesture and ScrollView. ScrollView works well but SwipeGesture doesn't work only Android. In iOS I have not problem. Why? Help me please ` <Grid x:Name="grid">...
View ArticleImageButton Orientation not working (Labs)
The following places the image to the left of the text on IOS: var button = new ImageButton() { ImageHeightRequest = 50, ImageWidthRequest = 50, Orientation = ImageOrientation.ImageOnTop, Image =...
View ArticleStyle FontSize OnPlatform in Xaml
Hi everybody, i'm looking for a way to change the fontsize of all my labels with a style defined in App.xaml (XF 1.3). But i don't find any way to make it works. Note : i want to make it with xaml in...
View ArticleHow to work UltimateXF charts in MVVM pattern?
I'm using ultimateXf line chart in xamarin form to show chart, but don't know how to bind chart with MVVM. Please help me.
View ArticlePicture extension is not saving with path in android when do multiple photo...
I am following this article for Select Multiple Images From Gallery in Xamarin Forms. I completed the feature in android part but the picture path contains only the picture name, extensions are missing...
View ArticlePlacing Tabbed Page Toolbar at bottom forces design to display tab title only...
I followed this link https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/android/tabbedpage-toolbar-placement-color for rendering a tabbed toolbar at bottom using C#. As given in the sample...
View ArticleXamarin.Forms WPF Custom fonts
My custom fonts (inside X.Forms) in iOS, macOS are working perfectly as detailed in the documentations I added a WPF project (VS2017) as per documentation and MainPage.XAML contents are visible except...
View ArticleIssue with Creating Card Connect SDK Xamarin binding Library for Android
I created a Xamarin Binding Library project to map the card connect sdk for Android and was successful in it. But when I try to create a sample project to test the function its giving me the following...
View ArticleListView with cells that show a video player
I need to implement a ListView with cells that display a video player. The list needs to recycle its elements for performance reasons. Is there any example out there?
View Articlexamarin http get
Hi guys,I want to add some json data with get web service. I try like following: var response = await client.GetAsync("myurl" + "?username=" + usernameValue+ "?password=" + PasswordValue); string...
View ArticleConcerns about Geocoding and Xamarins.Forms.Map for App Release
Hi everyone, I have some concerns for when the App I'm working on will be released: Is Geocoding from Xamarin.Essentials reliable? I'm using it to get location from device GPS ,address from a a given...
View ArticleHow to use platform Idiom in Xaml
Although I can do the following in code, I want to do it in Xaml: if (Xamarin.Forms.Device.Idiom == TargetIdiom.Phone) { MainPage = new NavigationPage(new MyPage()); } else...
View ArticleXamarin Forms (WPF) Platform Not Supported Exception on Windows 7
I wired in a WPF project as per the following link https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/wpf at the section that says "Follow these instructions to add a WPF app that will run...
View ArticleHow to align left a navigation bar Title in iOS using Xamarin forms
Hello, is there a way to align left the title of a navigation bar of a page when using MasterDetailPage? By default it seems to be centered in iOS But I want it to be left-align as in android. Thank...
View ArticleHow do I get the information from an api?
Hey there. I am new to this topic and a bit confused. I used https://strapi.io/ to create an api. I got this link for me "http://localhost:1337/NewsTests" with this content: "[{"titel":"lorem...
View ArticleRefactor almost identical Views and ViewModels to be reusable
Let's say I'm building an e-shop application and I want to display a list of orders in progress and delivered orders in separate pages. Both view models and the views are almost identical, because they...
View ArticleGetting item id from
Hello! I have a BusinessModel with 2 fields Category and Text I have handled ItemIsSelected from list view. Based on item index from the object list I am attempting to open another content page passing...
View ArticleChange Source Lottie animationView and try to playing in XamarinForms
I will try to Change Source of animationview to simulate play-stop solution, the source of animationview is Changed successfully but When I click for the second time doesn't play the animation , here...
View ArticleError with Application.Current.MainPage
Hello everyone, I have made a small development in xamarin forms, but I have a problem when calling the main page, once the user initiates session correctly in the login I redirect him to the main page...
View ArticleHow to add ContextActions to ListView if it is created only with code behind....
Hello experts, I have been trying to create ListView with only with code behind. I just dont know how to add Delete button as ContextActions. Could someone shed some light. For short, I removed all...
View ArticleHow to add images only to the last three items of the listview?
** I want to add the images to the specific items of the listview.** not for all collection in the listview
View ArticleCreating a Custom QR Code with an Image
I'm trying to create a QR Code with an Image inside it using ZXing. It seems people have managed to do it within .Net I've used a dependency service to create a Stream that can be loaded into forms for...
View Article