Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

Share via whatsapp

How do you properly encode a message to share via the whatsapp URL scheme ? The following set the text in whatsapp with whitespaces replaced by ' - ', offcourse i don't want that. Example: try{ // text...

View Article


Only a single Cancel() call is supported at a time exception on ImageCell.

I am making an application where I populate a ListView with ImageCell's and in my ViewModel I have a property called PosterUrl, this is bound to the ImageCell's ImageSourceProperty like:...

View Article


Adding a SearchView from within a fragment

I have a fragment within an activity. I want to add a SearchView into the ActionBar when the fragment loads. I have added other items into the ActionBar when the fragment loads. I have an xml file for...

View Article

Button Click in Custom AlertDialog within ListView ItemClick

Hi All, I have a listview which is working well, within the listview I have a item click event which opens up an alertdialog which inflates my custom xml layout, again, this is working well! Within my...

View Article

Custom Page Transitions with Xamarin.Forms?

Is it possible to override the default Page Transitions for Xamarin.Forms when calling PushAsync or PushModalAsync? For example, I would like to have slide or fade transitions for Android. I have tried...

View Article


Make button detect long tap.

Hello, I'm trying to make my Forms.Button to recognize long tap. I've tried to search Forms API and this forum for answer and I suppose it possible with GestureRecognizer. Althrough, I didn't find any...

View Article

UrlImageViewHelper and callback IUrlImageViewCallback

Hello, I'm looking how to add a callback on the "SetUrlDrawable" method from UrlImageViewHelper. SetUrlDrawable(ImageView imageView, string url, IUrlImageViewCallback callback) But I don't really...

View Article

Xamarin.Forms + MvvmCross

I have made a repository with a small sample of one way to use Xamarin.Forms with MvvmCross. You can find it here: https://github.com/Cheesebaron/Xam.Forms.Mvx

View Article


Development laptop recommendations

What would be the recommended laptop configurations and software setup options to build and test cross platform apps? I currently have a MBP 16GB 500SSD retina and run Xamarin Studio on the Mac to...

View Article


Label LineBreakMode Bug ?

Label LineBreakMode is not working on iOS (works on Android) On iOs all the text is presented and is not trailed. var resumeLabel = new Label { HorizontalOptions = LayoutOptions.StartAndExpand,...

View Article

Shared aplication problem

Hello. I have trial version of xamarin and I have stuck on tests phase. I spent a few hours on that. I've created "Shared" solution from scratch. When solution is generated I can compile and run on...

View Article

automatically refresh listview when adding an item

I have a listview and a button inside a fragment. When I click the button a dialog is shown to prompt the user to enter the data to be store. When dialog is accepted the listview should refresh and...

View Article

Barcode scanning via DI

I'm using ZXing in a Forms app via DI - it works great on the iOS side, but hangs in the ZXing UI on the Android side. Neither the completion nor the error handler are being called. In iOS it scans...

View Article


best way to make clickable text?

Is there a way to either make a Label Clickable or make a Button appear as though it's a regular label?

View Article

listview refresh on new items

I have a listview with ItemSource binded to a List, but nothing happens when I add new objects to the collection, the view does not keep in sync. Any hint?

View Article


How do I use IValueConverters?

I have created a converter which looks like this: public class SecondsToHoursMinutesValueConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo...

View Article

Window.SetTitle() not working on onCreate() of activity

I have a function called on the onCreate method of my activities to nake a webservice call and then change the activity title. This doesnt work on the onCreate method. But if there's a button on the...

View Article


No resource identifier found for attribute 'paddingStart' in package 'android'

ok, since I'm not getting any answers from anyone, I'll ask one more time. I am getting this error when trying to use Xamarin.Forms.Maps, and I don't know how to fix this issue. This is a major issue...

View Article

App crashing on startup on device but working on simulator

An app I made (as well as a basic hello-world app), works perfectly fine on simulators but when I push it to a device, it crashes immediately after the startup screen. I can post console logs if...

View Article

How can I add a .jar to a Xamarin project

Hi there, I am wanting to add the "universal-image-loader jar" file to my Xamarin project and am not sure what I need to do. I have had a look at this resource but would still like some help please:...

View Article
Browsing all 204402 articles
Browse latest View live


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