Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 89864 articles
Browse latest View live

Xamarin Forms: How to get the SwipeDirection value from SwipeStarted event?

$
0
0

I am using swipeview feature on my project for swiping the flowlistviews. I need both the left and right swipe for my center flowlistview. How can I achieve this on swipeview?

My code:

<SwipeView
    x:Name="SwipeView2"
    SwipeStarted="CenterSwipeView"
    IsVisible="False">
    <SwipeView.RightItems>
        <SwipeItems>
            <SwipeItem/>
        </SwipeItems>
    </SwipeView.RightItems>
    <flv:FlowListView>
        //listview items
    </flv:FlowListView>
</SwipeView>

public void CenterSwipeView(object sender, SwipeStartedEventArgs args)
{
  //how can I get the SwipeDirection value here
}

I need to call different functions based on the SwipeDirection value(left or right).
Also, I tried SwipeGestureRecognizer but it is not working for flowlistview.


How to properly set Easing in XAML?

$
0
0

Hi!
I have a custom control with Easing bindable property.

public static readonly BindableProperty AnimationEasingProperty = BindableProperty.Create(nameof(AnimationEasing), typeof(Easing), typeof(BreadCrumb), Easing.CubicInOut, BindingMode.TwoWay);

public Easing AnimationEasing
{
      get { return (Easing)GetValue(AnimationEasingProperty); }
      set { SetValue(AnimationEasingProperty, value); }
}

When I add my control to page I have Error:
No property, bindable property, or event found for 'AnimationEasing', or mismatching type between value and property.

<breadcrumb:BreadCrumb ... AnimationEasing="SinIn"/>

How can I properly set value to AnimationEasing property?

How to get current instance of viewmodel in prism

$
0
0

I am trying to implement prism mvvm framework in my app.
I want to get current instance of viewmodel in another viewmodel.
How can I achieve it ?

The case is : I have three pages, PageA, PageB and PageC.
Navigations are performed as - PageA > PageB > PageC
Now I want to update the property of PageAViewModel from PageCViewModel, So that when I go back to PageA, it should also update the view.

What is the property in control to be set to get the value from AppResult.Text in Xamarin.UITest?

$
0
0

I am trying to create custom control in Xamarin.Forms which has the unique automation id for automation. So, i have set the android renderer's contentDescription property. So, i can get the AppResult.Label property to identify the control. But, my requirements is that how to get the control's text property? What property i have to set in control level with the corresponding text to get it in AppResult.Text property.

[Test]

[Description("SampleTest")]

public void WelcomeTextIsDisplayed()

{

App.Repl();

AppResult[] results = App.WaitForElement("myControl");

Assert.IsTrue(results[0].Text == "My Control Text", results[0].Text + "\n" + results[0].Description + "\n" + results[0].Id + "\n" + results[0].Label);
}

NavigationBar.TitleView does not hide menu icon in UWP.

$
0
0

This is my NavBar title view:

<NavigationPage.TitleView>
        <StackLayout Margin="0" Padding="6,0,6,0" BackgroundColor="Yellow"
                     Orientation="Horizontal">
            <Button VerticalOptions="Center" ImageSource="backArrow_icon.png"
                    HorizontalOptions="Start"
                    HeightRequest="30" MinimumHeightRequest="30"
                    WidthRequest="30" MinimumWidthRequest="30"/>
            <Label VerticalOptions="Center"
                   HorizontalOptions="StartAndExpand"
                   Text="{x:Static resources:AppResources.Share}"/>
            <Button VerticalOptions="Center" ImageSource="Check_Icon.png"
                    HorizontalOptions="Start"
                    HeightRequest="30" MinimumHeightRequest="30"
                    WidthRequest="30" MinimumWidthRequest="30"/>
        </StackLayout>
    </NavigationPage.TitleView>

How do I make the menu icon marked in red, invisible? or get rid of it?

CarouselView and ListView issues

$
0
0

Hello!

I am using a CarouselView with a ListView inside to create a kind of "quiz". The user click on the ListView object, and that object changes color(background color through binding) and the value is stored in a variable.

My issue is that when the user swipes all the way to the right in the CarouselView and back again, the ListView have been drawn again, so the color have gone back to the original color. I solved this by changing the binding as well as the object, so when it is drawn again, that object will have the correct background. But when the user now changes the answer, the old selection does not change color because I am unable to access that specific object when the user clicks.

The way I am getting the cell is by using ViewCell tapped. I have tried with ListView ItemTapped aswell, but I am still unable to access the entire list of the Listview.

So, to solve this I need to find a way to stop the CarouselView and ListView to be drawn again or be able to access the entire list of a ListView when clicking on one of the objects, and this is probably the best option, but I have been unable to find out how.

I would love some assistance in this issue.
Thanks in advance!

Why propertychanged value is null after changing the property value?

$
0
0

Hi Guys,
I am new to C# and Xamarin, so I spoiled one day to find a solution this issue, but I couldn't.
Can anyone tell me why PropertyChanged value comes null in INotifyPropertyChanged. I have a property and I change its value, but when it enters in NotifyPropertyChanged method the value of PropertyChanged is null. Following is my code :

ViewModel
` private UserLoginResponseModel _userData;
public LoginResponseModel LoggedUser { get; set; }

    public event PropertyChangedEventHandler PropertyChanged;

    public string ImgSource
    {
        get { return _userData.profile_pic; }
        set
        {
            if (_userData.profile_pic != value)
            {
                _userData.profile_pic = value;
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("ImgSource"));
                //OnPropertyChanged("ImgSource");
            }
        }
    }


    public UserViewModel()
    {            
        LoggedUser = LoggedInUser.GetUser();
        _userData = new UserLoginResponseModel();
        _userData = LoggedUser.user;
    }`

Xaml Code

<Image HorizontalOptions="Center" VerticalOptions="Center" x:Name="ImgProfilePic" Source="{Binding ImgSource, Converter={StaticResource arrayTomageConverter},Mode=OneWay}" > <Image.BindingContext> <vm:UserViewModel /> </Image.BindingContext> </Image>

Xaml Code behind

`UserViewModel userViewModel;
public EditProfile()
{
userViewModel = new UserViewModel();
}'

'userViewModel.ImgSource = NewImage;`

Unexpected Memory leaks shown by Xcode's Instrument tool

$
0
0

Hi,
I have a problem related to memory leaks shown by Xcode's Instrument tool.

I have used Visual Studio 2017 on windows 7 machine connected to mac build host.

I have created Xamarin project in Visual Studio 2017 as follows:

File->New->Project->Cross-Platform->Mobile App(Xamarin Forms)->Blank(iOS, .NET Standard)
Note: I have added No extra code from my side

This project is successfully executed on iPhone5s Simulator (12.1)

Then i used instrument tool (Leak Check)

It showed following leaks.

Question: Why these leaks occur on standard project and How to fix them.

Image-1

Image-2

Image-3

Image-4

Image-5_1

Image-5_2

Image-6

Image-7


How to implement readmore in listview items?

$
0
0

How to implement need readmore and read less inside listview item as it expand and collapse content respectively?

Dynamic Form data Binding to carousel view ItemSource property

$
0
0

Hello All,
I need to display dynamic forms in the carousel view. The form gets generated based on the JSON response from API and I have to show that particular form in the carousel view.

I am able to integrate my content view with some static content to the carousel view using this "CardsView(2.6.1) "package.

However, I am stuck at the data binding part because my content view is actually a dynamic form on which the data gets populated based on the JSON response from API. So, how can I create and bind the dynamic model to ItemSource Property of the carousel view?
Thanks in advance.

Firebase crashlytics for Xamarin forms

$
0
0

Hi All,
I am implementing firebase crashlytics for xamarin forms project.
I want to log non-fatal exceptions for my iOS project. Below is the code I am using to log non-fatal exceptions.

PCL:

try
        {
            User objUser = null;
            string username=objUser.Username;
        }
        catch (Exception ex)
        {
             firebaseTracker.LogException(ex);
        }

IOS:

public void LogException(Exception exception)
{
var crashInfo = new Dictionary<object, object>
{
[NSError.LocalizedDescriptionKey] = exception.Message,
["StackTrace"] = exception.StackTrace
};

        var error = new NSError(new NSString(exception.GetType().FullName),
                                -1001,
                                NSDictionary.FromObjectsAndKeys(crashInfo.Values.ToArray(), crashInfo.Keys.ToArray(), crashInfo.Count));


        Device.BeginInvokeOnMainThread(() => {
            Crashlytics.SharedInstance.RecordError(error);

        });
    }

The code in PCL throws System.NullReferenceException: Object reference not set to an instance of an object.
Actual Result: This gets logged both under Crashes and Non-fatal section of firebase portal
Expected Result: This should get logged only under Non-fatal section of firebase portal

Note:[This is happening only for Null Reference exception. System.ArgumentOutOfRangeException gets logged only under non-fatal section(which is correct)]

Any help would be appreciated!

Thanks,
Payal

How to use SVG image for Splash Screen

$
0
0

Hi ,

I have an SVG image as splash screen , As I see it is not straight forward to implement splash screen with svg image

Can anyone help me how to implement this in android,ios in Xamarin forms

Correct place to store things securely

$
0
0

I'm doing some work with azure mobile services which requires me to store both an application key, and also cache user authentication information locally (not passwords, just a token).

Is there a standard approach to storing / caching something like this with Xamarin Forms?

How to Create Local Notification In Xamarin.Forms for Android,IOS,Uwp

$
0
0

How to Create Local Notification In Xamarin.Forms for Android,IOS,Uwp

How to notify when hit bottom of a Listview?

$
0
0

I'm trying to create a listview that loads items, then loads more items when you scroll to the bottom of the list.

I have all the code already for retrieving my data using paging.

I just can't seem to find an event for hitting the bottom of a listview.

I'm looking for an MVVM solution for this that works across android and iOS. Is there such a thing?


Android version is reporting a crash in app but I am not sure how to fix it. Expecting your help

How to Refresh CollectionView ItemTemplate

$
0
0

xaml:

   <ContentPage.Resources>
        <ResourceDictionary>
            <Style x:Key="darkerButton" TargetType="Button">
                <Setter Property="BackgroundColor" Value="#ddd"/>
                <Setter Property="TextColor" Value="Black" />
                <Setter Property="BorderColor" Value="Blue"/>
                <Setter Property="FontSize" Value="Default" />
                <Setter Property="CornerRadius" Value="10" />
            </Style>
        </ResourceDictionary>
    </ContentPage.Resources>
    <ContentPage.Content>
        <StackLayout>
            <Frame Style="{StaticResource FrameStyle}">
                <StackLayout >
                    <Label x:Name="ApointingPersonName"  Text="" Style="{StaticResource LableHeading}"/>
                    <Label x:Name="ApointingPersonTag"  Text="" Style="{StaticResource LableSubHeading}"/>
                </StackLayout>
            </Frame>
            <!--<StackLayout HeightRequest="90" BackgroundColor="#E8AD00">-->
            <Frame OutlineColor="#EFEFEF" HeightRequest="78" Margin="1" Padding="3">
                <CollectionView ItemsSource="{Binding dayList}">
                    <CollectionView.ItemsLayout>
                        <GridItemsLayout Orientation="Horizontal"  HorizontalItemSpacing="5" VerticalItemSpacing="1" />
                    </CollectionView.ItemsLayout>
                    <CollectionView.ItemTemplate>
                        <DataTemplate x:DataType="models:DayList">
                            <Button x:Name="DayButton" Text="{Binding BindDayDate }"  MinimumHeightRequest="25" Clicked="DayButton_Clicked" Style="{StaticResource darkerButton}"/>
                        </DataTemplate>
                    </CollectionView.ItemTemplate>
                </CollectionView>
            </Frame>
            <BoxView HeightRequest="1" BackgroundColor="MediumTurquoise"/>
            <Frame Style="{StaticResource FrameStyle}">
                <StackLayout>
                    <StackLayout>
                        <Label x:Name="SelectedDayHead" Text="" Style="{StaticResource LableHeading}" HorizontalTextAlignment="Center" LineBreakMode="HeadTruncation"/>
                    </StackLayout>
                    <ContentView x:Name="SlotNOView" IsVisible="False" >
                        <Label x:Name="SlotNOAvailable" Text="" FontSize="Medium" VerticalTextAlignment="Center" FontAttributes="Bold" TextColor="Red"/>
                    </ContentView>
                    <RefreshView x:Name="SlotContentView"  IsVisible="False">
                        <CollectionView x:Name="SlotListView">
                            <CollectionView.ItemsLayout>
                                <GridItemsLayout Orientation="Vertical" Span="4" HorizontalItemSpacing="5" VerticalItemSpacing="5" SnapPointsType="Mandatory"/>
                            </CollectionView.ItemsLayout>
                            <CollectionView.ItemTemplate>
                                <DataTemplate x:DataType="models:SlotListData">
                                    <StackLayout>
                                        <Button Text="{Binding slot}" Clicked="SelectedSlot_Clicked"/>
                                    </StackLayout>
                                </DataTemplate>
                            </CollectionView.ItemTemplate>
                        </CollectionView>
                    </RefreshView>
                </StackLayout>
            </Frame>
        </StackLayout>
    </ContentPage.Content>

xaml.cs:

namespace EZQueue.Views.BookAppointment
{
    [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class TimeSlotList : ContentPage
    {
        VMTimeSlotList VMModel;
        public ServiceSlot serviceSlot { get; set; }
        public WorkTemplate workTemplate { get; set; }
        public ApointingPerson apointingPerson { get; set; }
        DayList dayList { get; set; }

        public TimeSlotList(ServiceSlot InputServiceSlot,ApointingPerson InputapointingPerson)
        {
            InitializeComponent();
            apointingPerson = InputapointingPerson;
            ApointingPersonName.Text = apointingPerson.Name;
            ApointingPersonTag.Text = InputServiceSlot.TagList;
            serviceSlot = InputServiceSlot;
            VMModel = new VMTimeSlotList(serviceSlot);
            BindingContext = VMModel;
            GetTimeSlotList();
            GetWorkTemplateList();
            GetCancelServiceList();
        }

        async void GetTimeSlotList()
        {
            await VMModel.RefreshListAsync();
        }

        async void GetWorkTemplateList()
        {
            await VMModel.RefreshWorkTemplateAsync();
        }

        async void GetCancelServiceList()
        {
            await VMModel.RefreshGetCancelServiceAsync();
        }

        async void GetSlotListData()
        {
            await VMModel.RefreshGetSlotListDataAsync();
            SlotListView.ItemsSource = VMModel.SlotListDataGroup;
            SlotContentView.IsVisible = true;
        }
        private void DayButton_Clicked(object sender, EventArgs e)
        {
            SlotContentView.IsVisible = false;
            SlotNOView.IsVisible = false;
            Button btn = (Button)sender;
            dayList=(DayList)btn.BindingContext;
            VMTimeSlotList.SelectedDate = DateTime.Parse(dayList.date);
            SelectedDayHead.Text = dayList.dayString + ", " + dayList.date;
            checkSoltAvailableORNot();
        }

        public void checkSoltAvailableORNot()
        {
            switch (dayList.dayString)
            {
                case
                                "Monday":
                    if (VMModel.workTemplate.Monday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                              "Tuesday":
                    if (VMModel.workTemplate.Tuesday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                            "Wednesday":
                    if (VMModel.workTemplate.Wednesday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                            "Thursday":
                    if (VMModel.workTemplate.Thursday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                            "Friday":
                    if (VMModel.workTemplate.Friday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                            "Saturday":
                    if (VMModel.workTemplate.Saturday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;

                case
                            "Sunday":
                    if (VMModel.workTemplate.Sunday == true)
                    {
                        GetSlotListData();
                    }
                    else
                    {
                        slotNOAvailable();
                    }
                    break;
            }
        }

        public void slotNOAvailable()
        {
            SlotNOAvailable.Text = "Slot NOT Available...!!";
            SlotNOView.IsVisible = true;
        }


        private void SelectedSlot_Clicked(object sender, EventArgs e)
        {
            Button btn = (Button)sender;
            SlotListData SelectedTime = (SlotListData)btn.BindingContext;
            Navigation.PushAsync(new CustomerDetail(SelectedTime,VMModel.workTemplate,apointingPerson,dayList) { Title = "Patient Details" });
        }
    }
}

vMmodel:
namespace EZQueue.ViewModels
{
    public class CancelStartEnd
    {
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
    }

    public class VMTimeSlotList : INotifyPropertyChanged
    {
        public ObservableCollection<DayList> dayListAll { get; set; } = new ObservableCollection<DayList>();
        public ObservableCollection<DayList> dayList { get; set; } = new ObservableCollection<DayList>();

        public ObservableCollection<CancelService> cancelServiceAll { get; set; } = new ObservableCollection<CancelService>();
        public ObservableCollection<CancelService> cancelService { get; set; } = new ObservableCollection<CancelService>();
        public CancelStartEnd cancelStartEnd { get; set; } = new CancelStartEnd();

        public WorkTemplate workTemplateAll { get; set; } = new WorkTemplate();
        public WorkTemplate workTemplate { get; set; } = new WorkTemplate();

        public List<SlotListData> SlotListDataGroupAll { get; set; } = new List<SlotListData>();
        public List<SlotListData> SlotListDataGroup { get; set; } = new List<SlotListData>();

        DateTime TodayDate = DateTime.Today.AddDays(0);
        public ObservableCollection<Appointment> appointment { get; set; } = new ObservableCollection<Appointment>();

        public int serviceSlotID { get; set; }

        public static DateTime SelectedDate { get; set; }
        public List<string> BookedAppointmentTime { get; set; } = new List<string>();

        public VMTimeSlotList(ServiceSlot InputServiceSlot)
        {
            serviceSlotID = InputServiceSlot.ServiceSlotID;
        }

        private void UpdatelistDayList()
        {
            dayList.Clear();
            foreach (var item in dayListAll)
            {
                dayList.Add(item);
            }

            UpdateUserPromt();
        }

        public async Task RefreshListAsync()
        {
            IsRefreshing = true;
            try
            {
                dayListAll = await WebManager.GetDayListAsync(TodayDate, serviceSlotID);
                UpdatelistDayList();
            }
            catch { }
            IsRefreshing = false;
        }

        private void UpdateWorkTemplate()
        {
            workTemplate = workTemplateAll;
            UpdateUserPromt();
        }

        private void UpdateSlotListData()
        {
            SlotListDataGroup.Clear();
            foreach (var item in SlotListDataGroupAll)
            {
                SlotListDataGroup.Add(item);
            }
            UpdateUserPromt();
        }

        public async Task RefreshWorkTemplateAsync()
        {
            IsRefreshing = true;
            try
            {
                workTemplateAll = await WebManager.GetWorkTemplateAsync(serviceSlotID);
                UpdateWorkTemplate();
            }
            catch {}
            IsRefreshing = false;
        }

        public async Task RefreshGetSlotListDataAsync()
        {
            IsRefreshing = true;
            try
            {
                await getCancelServiceAsync();
                await getappointmentAsync();
                SlotListDataGroupAll.Clear();
                DateTime StartTime = workTemplate.StartTime;
                DateTime EndTime = workTemplate.EndTime;
                TimeSpan span = EndTime.Subtract(StartTime);
                int TotalMinutes = (int)span.TotalMinutes;
                int TimeSpan = (int)workTemplate.SlotGranularity.TotalMinutes;
                int count = TotalMinutes / TimeSpan;
                DateTime dateTime = StartTime;

                DateTime t2 = Convert.ToDateTime((cancelStartEnd.StartTime.ToShortTimeString()));
                DateTime t3 = Convert.ToDateTime((cancelStartEnd.EndTime.ToShortTimeString()));
                for (int j = 0; j < count; j++)
                {
                    DateTime t1 = Convert.ToDateTime((dateTime.ToShortTimeString()));
                    int v1 = DateTime.Compare(t1, t2);
                    int v2 = DateTime.Compare(t1, t3);

                    /* if t1 is less than t2 then result is -1 
                     *   if t1 equals t2 then result is 0 
                     *   if t1 is greater than t2 then result 1 
                     */

                    if (!(BookedAppointmentTime.Contains(dateTime.ToShortTimeString()))&&((v1>=0) & v2>=0 )||(v1<0 & v2<0)&&!(BookedAppointmentTime.Contains(dateTime.ToShortTimeString())))
                    {
                        SlotListDataGroupAll.Add(new SlotListData() { slot = dateTime.ToShortTimeString() });
                    }
                    dateTime = dateTime.AddMinutes(TimeSpan);
                }
                UpdateSlotListData();
            }
            catch(Exception e) { }
            IsRefreshing = false;
        }

        public async Task RefreshGetCancelServiceAsync()
        {
            cancelServiceAll = await WebManager.GetCancelServiceAsync(workTemplate.ServiceSlotID);
        }

        private async Task getCancelServiceAsync()
        {
            foreach (var item in cancelServiceAll)
            { 
                if(SelectedDate.ToShortDateString()==item.Date.ToShortDateString())
                {
                    cancelStartEnd=new CancelStartEnd() { StartTime = item.StartTime, EndTime = item.EndTime };
                }
            }
        }

        private async Task getappointmentAsync()
        {
            string ServiceSlotIDSelectedDate = workTemplate.ServiceSlotID.ToString() + "," + SelectedDate.ToString();
            appointment = await WebManager.GetAppointmentAsync(ServiceSlotIDSelectedDate);
            BookedAppointmentTime.Clear();
            foreach (var item in appointment)
            {
                BookedAppointmentTime.Add(item.StartTime.ToShortTimeString());
            }
        }
        public void UpdateUserPromt()
        {
            if (0 == SlotListDataGroupAll.Count)
            {
                if (false == NetworkInterface.GetIsNetworkAvailable())
                {
                    ShowMessage(EZQResource.SMInternateNotAvailable, true);
                }
            }
        }

        public void ShowMessage(string Message, bool bIsError = false)
        {
            UserPromt = Message;
            if (bIsError)
            {
                UserPromtColor = Color.Red;
            }
            else
            {
                UserPromtColor = Color.Black;
            }
        }

        public string m_UserPromt = "";
        public string UserPromt
        {
            get
            {
                return m_UserPromt;
            }
            set
            {
                if (m_UserPromt != value)
                {
                    m_UserPromt = value;
                    NotifyPropertyChanged();
                }
            }
        }

        public Color m_UserPromtColor;
        public Color UserPromtColor
        {
            get
            {
                return m_UserPromtColor;
            }
            set
            {
                if (m_UserPromtColor != value)
                {
                    m_UserPromtColor = value;
                    NotifyPropertyChanged();
                }
            }
        }

        private bool m_isRefreshing = false;
        public bool IsRefreshing
        {
            get { return m_isRefreshing; }
            set
            {
                if (m_isRefreshing != value)
                {
                    m_isRefreshing = value;
                    NotifyPropertyChanged();
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        void NotifyPropertyChanged([CallerMemberName] string name = "")
        {
            if (name != "")
            {
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
            }
        }
    }
}

data ~~~~
DayList:
  public class DayList
    {
        public int serviceSlotID { get; set; }
        public string dayString { get; set; }
        public string date { get; set; }
        public string BindDayDate {
            get
            {
                return string.Format("{0} \n{1}", dayString,DateTime.Parse(date).ToShortDateString());
            }
        }
    }

classWorkTemplate:~~~~

 public class WorkTemplate
    {
        public int WorkTemplateID { get; set; }
        public string Name { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public TimeSpan SlotGranularity { get; set; }

        public bool Monday { get; set; }
        public bool Tuesday { get; set; }
        public bool Wednesday { get; set; }
        public bool Thursday { get; set; }
        public bool Friday { get; set; }
        public bool Saturday { get; set; }
        public bool Sunday { get; set; }

        public int ServiceSlotID { get; set; }
    }

VideoLink:
https://youtu.be/kpKBlJ91wyo

not show image https

$
0
0

<Image Source="https://cdn.vatanbgs.com/Content/Images/Products/460_466/637089327869489423.jpg" 
       WidthRequest="150" HeightRequest="150"></Image>![](https://us.v-cdn.net/5019960/uploads/editor/1v/n06i7lpljpih.png "")

Why doesn't it open on Android 5?

log eeror

Wierd issue in Xaml Editor for Xamarin forms VS2019 Community.

$
0
0

I am working on a xamarin forms android app on VS 2019 Community edition with all modules and packages updated. Since morning all of a sudden my app stopped working. After logging in to my app, my landing page is Details Page and it is coming blank, where as the codes in back are executing without any exceptions.
In the xamarin editor I notice 1error but clicking on that does notthing. See the screenshot below

So I just want to know, if there is any log /tool/locations to look into for this. Thanks

Need a radio button to select an address in a collection view..

$
0
0

Hello all,
Actually I am working on an e-commerce application. And need a radio button to select the address from multiple address. and the selected address will go forward. And in this image, only one address is showing..and the other address will continue in vertical orientation..

Viewing all 89864 articles
Browse latest View live