Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

ToolbarItems throws Cannot implicitly convert type...

Hi, I am trying to use below code to show a Signout toolbar button which works fine but when I add a DisplayAlert to it I get: Error CS0029: Cannot implicitly convert type 'System.Threading.Tasks.Task'...

View Article


ListView.SelectedItem won't work in UWP

I have a MasterDetailPage and in my constructor I have the following code to add menu items in a ListView. But the last row, selecting the first item in the ListView so you can see that it is selected...

View Article


App Crashes On Startup when downloaded from TestFlight

Hello, I have seen many other posts about this issue. I have tried all of the solutions I believe that I have seen in other posts. I am running Xamarin.Forms 2.3.4.270 and am using HockeyApp 5.1.1 for...

View Article

Add Windows plotform on existing solution

Hi to all, I want to add windows platform to an existing solution (Android and IOS). Where can I find any information (if exists) Thanks in advance

View Article

Xamarin IOS App Crash In Store and works in TestFlight

As the title states, my application works great in TestFlight for all of the users, however when I submit to the store it crashes on startup. I have the crash logs and will post them below but I am...

View Article


Image may be NSFW.
Clik here to view.

Was PCL removed ?!

Hello, Xamarin Community ! I was above to create a cross platform project in Visual Studio 2017 Community but there wasn't any PCL feature. Was it removed or just renamed. Please help me find out !...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Live Player with Prism???

Hi guys, I really love Xamarin Live Player. It works perfectly with a "standard" XF application. But I can't find a way to make it work with a Prism application. I just get 20 build errors with the out...

View Article

Alarm Manager doesn't work with Android API 25

Hi. I have a problem with Alarm Manager that doesn't fired my schedule notification. using Android.App; using Android.Content; using GNote.Android; using GNote.Droid; using GNote.Converters; using...

View Article


DataAnnotation supprt with INotifyDataErrorInfo

I came from WPF background, and according to the similarities between XF and WPF in terms of MVVM, Data Binding, INPC.. etc, I found that I can't use data annotations in...

View Article


what is best way store logged in use detail and access it whenever we need

i am creating android,Ios and uwp cross application.i am looking for best way to store logged in user detail store in device.i am looking for best practice solution.please any one help me out of this...

View Article

Few questions about databases

Hi I'm doing a simple app which have to display text and pictures. I want to store this pictures and text in a online database (so it can be updated easily), but the app should read from a local...

View Article

Xamarin.Forms Android Entry Focus results in parent view being removed from...

I'm using absolute layouts throughout our app to present modal pages, many of which contain entrys to retrieve input from the user. On one of these pages specifically - when the entry gains focus the...

View Article

Highlight specific locality/state from an address

Hey! currently Im getting a position from an address (Example: the user put Manhattan and i get te latitude and longitude of the center of manhattan). So far so good .. but now I want to highlight all...

View Article


Picker not showing value

I need to set a value to picker but it seems to not work in two way: <Picker ItemsSource="{Binding myModelList}" SelectedItem="{Binding myModel, Mode=TwoWay}" /> ViewModel: public class...

View Article

Image may be NSFW.
Clik here to view.

Sigh - yet ANOTHER BUG in XF2.5 -> Specified cast is not valid

Moan Start I guess I should have learnt my lesson and not upgraded all my projects to the latest XF assembly (2.5.0.121934). I like Xamarin but I really dislike the appalling testing (or lack of) on...

View Article


iOS Background image scale

Hi, I noticed many people have the problem of the background image of a forms page not scaling in iOS. I solved it with this code: [assembly: ExportRenderer(typeof(InfoPage), typeof(InfoPage_iOS))]...

View Article

Image may be NSFW.
Clik here to view.

Picker doesn't show selected item in list

Hi, I have a simple test picker like this: <StackLayout> <Picker SelectedIndex="0" > <Picker.Items> <x:String>Option A</x:String> <x:String>Option B</x:String>...

View Article


Image binding using path in Xamarin forms

Hi All, This is how I am trying to bind image in ListView- fruitGroup.Add (new MenuListModel () { Name_PriceTag = "strawberry", IsReallyAVeggie = false,Comment = "spring...

View Article

How to close my app?

I want to close my app from click event. But i can't find a method to do so. Is this implemented in Xamarin.Forms or do i have to make a DependencyService? If i have to make an DependencyService can...

View Article

how to find this image by type in android custom renderer?

<Grid ><Image x:Name="trashBoxImage" Grid.Column="1" /></Grid> in other words to what Android type the xaml image will be mapped to? exp: if(view is ????class????? ) then ..

View Article
Browsing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>