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 ArticleOnly 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 ArticleAdding 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 ArticleButton 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 ArticleCustom 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 ArticleMake 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 ArticleUrlImageViewHelper 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 ArticleXamarin.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 ArticleDevelopment 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 ArticleLabel 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 ArticleShared 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 Articleautomatically 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 ArticleBarcode 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 Articlebest 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 Articlelistview 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 ArticleHow 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 ArticleWindow.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 ArticleNo 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 ArticleApp 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 ArticleHow 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