Posts

Showing posts with the label xamarin

How to send data updwards? From a Datatemplate to above

Image
Clash Royale CLAN TAG #URR8PPP How to send data updwards? From a Datatemplate to above So I got this page when the user clicks the + and the - image buttons the TotalPrice label binding gets updated,no problem. This is in the Item Template binding. However, I need that whenever a product gets increased or decreased I need for the TotalOrderValue gets updated too. But I got no way to trigger the UpdateTotalOrderValue when something from the listview gets updated. How do I do this? I tried events but couldn't get them to work as it couldn't communicate upwards. This is the from the PAGE viewmodel public decimal? TotalOrderValue { get { return totalOrderValue; } set { totalOrderValue = value; OnPropertyChanged(); } } private void UpdateTotalOrderValue() { foreach (var product in Items) { TotalOrderValue += product.Price; ...

How do I change bottom tabs background color

Image
Clash Royale CLAN TAG #URR8PPP How do I change bottom tabs background color I am working on Xamarin.Forms . I have bottom tabs in my android project. Tabs are showing default background color something light gray. I need to change tabs background color to my preferred color. But I am not able to do so. The code below I am using Xamarin.Forms MainPage.xaml file <?xml version="1.0" encoding="utf-8"?> <MyTabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:edTheSIS" x:Class="edTheSIS.ParentDashboard"> <local:DairyTabPage Icon="icon1"></local:DairyTabPage> <local:MykidTabPage Icon="icon2" ></local:MykidTab> <local:EventsPage Icon="icon3"></local:Events> <local:AboutPage Icon="icon4"></local:About> </MyTabbedPage> MyTabbedPage.c...

Label text inside AbsoluteLayout > StackLayout overflowing beyond Grid

Image
Clash Royale CLAN TAG #URR8PPP Label text inside AbsoluteLayout > StackLayout overflowing beyond Grid My label text is overflowing beyond Grid, why? <AbsoluteLayout x:Name="alIFirst" AbsoluteLayout.LayoutBounds="1,1,1,.50" AbsoluteLayout.LayoutFlags="All" BackgroundColor="#90000000"> <StackLayout> <StackLayout> <Label Style="{StaticResource beNewsSnapLabel}" Text="{Binding News_Item_Title_1}"/> </StackLayout> <StackLayout> <Label Style="{StaticResource beNewsSnapLabelContent}" Text="{Binding News_Item_Description_1}"/> </StackLayout> </StackLayout> <...

Xamarin Android Set Marker With Touched On Map osmdroid

Image
Clash Royale CLAN TAG #URR8PPP Xamarin Android Set Marker With Touched On Map osmdroid I am Try With Toch Screen Add Marker To MapView OsmDroid I did not succeed. I tried with tips This Link Link Iam Using Add Library To Project Implementation In Xamarin Android.But With Code bottom Was incomprehensible OnItemGestureListener<OverlayItem> myOnItemGestureListener = new OnItemGestureListener<OverlayItem>(){ @Override public boolean onItemLongPress(int arg0, OverlayItem arg1) { // TODO Auto-generated method stub return false; } @Override public boolean onItemSingleTapUp(int index, OverlayItem item) { Toast.makeText(AndroidOpenStreetMapViewActivity.this, item.mDescription+item.mTitle+item.mGeoPoint.getLatitudeE6() +":" +item.mGeoPoint.getLongitudeE6(), Toast.LENGTH_LONG).show(); return true; } You are better to specify the error you get when you touch the map, – Muhammad Hannan ...

zendesk Xamarin binding for IPS and Android

Image
Clash Royale CLAN TAG #URR8PPP zendesk Xamarin binding for IPS and Android I went through the documentation for doing Xamarin binding for Zendesk SDK for IOS. The documentation takes us through the scenario where we create .a file and proceed with binding. Zendesk library is provided in the form of a framework and though the Xamarin documentation says that frameworks contain .a file, I still could not find .a file in Zendesk framework. Hence, I am kind of blocked here. Any pointers here? Link to Zendesk Library : https://github.com/zendesk/zendesk_sdk_ios Link to Xamarin documentation : https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=vsmac By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.