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

Windows App Won't Change Orientation

Hello everyone! I am working on my first Xamarin.Forms app and I noticed that when my app is deployed on the Android emulator, I can rotate the emulator and watch the view update correctly. However,...

View Article


Calling PCL method from Custom Renderer

Hi, I have a ScrollView, I've made a custom renderer for it, with added UIRefreshControl for pull-to-refresh feature. However, I need to somehow notify my PCL class to load new data. Here is a Refresh...

View Article


detecting non-GUI thread

Is there way to know if current thread is not main UI thread and a switch required? Similar to Dispatcher.CheckAccess in WPF/Silverlight, CoreDispatcher.HasThreadAccess in WinRT or...

View Article

Orientation change Win Phone in xaml

Is there a way to either have different views for different orientations or to have logic similar to OnIdiom, but for Orientation rather than device? thanks.

View Article

ToolbarItems show up on Android but not on Windows Phone

I have the following code snippet for adding items to the toolbar. The item shows up for Android, but not for Windows Phone. What am I missing? Title = "Create Account"; ToolbarItems.Clear(); if...

View Article


How does SQLite.NET component fit-in

I wonder how would SQLite.NET fit in this new release? Which project template should I choose in order to share service code?

View Article

How to bind data to ListView control in Xamarin.Form using Async

Hi, I am new to the Xamarin mobile application development. I am creating one application using Xamarin.forms. I am using PCL to share the code across 3 devices. In the PCL I have created ContentPage...

View Article

Dynamically manipulate UI at runtime using Xamarin.Forms

Is there any way to dynamically manipulate UI at runtime using Xamarin.Forms ? Suppose i have a page where i have 2 button and 1 imageview. So if i click any button then i want to remove(not hide) the...

View Article


Video: A Xamarin.Forms Deep Dive

https://www.youtube.com/watch?v=tsiSssFAQ6A In this session Michael Ridland takes a in depth look at Xamarin.Forms and answers the hard questions. Watch this session if you want to know: How the...

View Article


Custom renderer -> iOS UITableView

I'm trying to create a custom renderer for iOS for use in my .Forms project. The Android one is already working. This renderer attempts to convert my "WallView" into a UITableView, but I end up with an...

View Article

Dynamically manipulate UI at runtime using Xamarin.Forms

Is there any way to dynamically manipulate UI at runtime using Xamarin.Forms ? Suppose i have a page where i have 2 button and 1 imageview. So if i click any button then i want to remove(not hide) the...

View Article

Using Xamarin Forms without Navigation Page

HI, I'm trying to set up a project that uses a mix of Xamarin Forms pages and standard Android Activities. As a part of this, I planned to use my own navigation system. Similar to this post, I can't...

View Article

Image may be NSFW.
Clik here to view.

Is there an equivalent to this in Xamarin.Forms?

See picture. essentially this is a radio button control. Android, it seems, uses actual radio buttons. But neither seem to be usable via Forms?

View Article


Xamarin.Forms with Cocos2D-XNA ?

There are ways in which Cocos2D based scenes can be integrated with say a view controller in iOS (or activity in Android). What about Xamarin.Forms? Is that possible currently, and if yes - a quick...

View Article

Maps

Hi all, IsShowingUser = true does not seem to work for Android. The following code : var map = new Map (MapSpan.FromCenterAndRadius (pin.Position, Distance.FromMiles (0.3))) { IsShowingUser = true };...

View Article


Oversight, or intended behavior?

Sometimes, when doing a binding, you don't want to indicate a subpath...you want the binding to be to the whole item. Then, in a converter class, you "build" the information you need to, accessing all...

View Article

how can i send/pass a string value from View to ViewModel in Xamarin forms...

Hi All, I have a ViewModel to binding the value of picker based on another picker selected value by using MVVM pattern logic. I just need to send a string value from a view to viewmodel. I don't want...

View Article


Using TableView to mimic default lists

Hi, I am trying to mimic the default behavior of lists in various platforms. Using ListView, I seem to be unable to get the behavior the same as native apps (e.g. the "depress" animation of Windows...

View Article

Corrupted nav bar when pushing new page from ItemSelected handler

Howdy, I have a tabbed page, and from one of the pages in the tabbed page, I have a ListView where I want to go to another page when the click one of the items in the list: installation.ItemSelected +=...

View Article

Inset text via LabelRenderer

Hello all, I'm trying to create a control in Xamarin.Forms that looks similar to Messages on iOS. I'm trying a few different approaches and the current approach requires me to inset the text in a...

View Article
Browsing all 58056 articles
Browse latest View live