.bobgoblin
.bobgoblin
CC#
Created by .bobgoblin on 12/20/2022 in #help
❔ Setting Up First Xamarin FOrms
@PraetorBlue - any insight?
13 replies
CC#
Created by .bobgoblin on 12/20/2022 in #help
❔ Setting Up First Xamarin FOrms
This is the project I have.....maybe you can see error in my code?
13 replies
CC#
Created by .bobgoblin on 12/20/2022 in #help
❔ Setting Up First Xamarin FOrms
@PraetorBlue - I have that code for step 4...Let me show you... LoginPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="XF_Login.Views.LoginPage"
BackgroundImage="logo.jpg">
<ContentPage.Content>
<StackLayout Orientation="Vertical" Padding="30" Spacing="40">
<BoxView HeightRequest="10"/>
<Image HorizontalOptions="Center" WidthRequest="300" Source="maco.jpg"/>
<Frame BackgroundColor="#BF043055" HasShadow="False">
<StackLayout Orientation="Vertical" Spacing="10">
<Entry x:Name="Email" Text="{Binding Email}" Placeholder="Email"
PlaceholderColor="White" HeightRequest="40"
Keyboard="Email"
TextColor="White"/>
<Entry x:Name="Password" Text="{Binding Password}" Placeholder="Senha"
PlaceholderColor="White" HeightRequest="40"
IsPassword="True"
TextColor="White"/>
</StackLayout>
</Frame>
<Button Command="{Binding SubmitCommand}" Text="Login" TextColor="White"
FontAttributes="Bold" FontSize="Large" HorizontalOptions="FillAndExpand"
BackgroundColor="#088da5" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="XF_Login.Views.LoginPage"
BackgroundImage="logo.jpg">
<ContentPage.Content>
<StackLayout Orientation="Vertical" Padding="30" Spacing="40">
<BoxView HeightRequest="10"/>
<Image HorizontalOptions="Center" WidthRequest="300" Source="maco.jpg"/>
<Frame BackgroundColor="#BF043055" HasShadow="False">
<StackLayout Orientation="Vertical" Spacing="10">
<Entry x:Name="Email" Text="{Binding Email}" Placeholder="Email"
PlaceholderColor="White" HeightRequest="40"
Keyboard="Email"
TextColor="White"/>
<Entry x:Name="Password" Text="{Binding Password}" Placeholder="Senha"
PlaceholderColor="White" HeightRequest="40"
IsPassword="True"
TextColor="White"/>
</StackLayout>
</Frame>
<Button Command="{Binding SubmitCommand}" Text="Login" TextColor="White"
FontAttributes="Bold" FontSize="Large" HorizontalOptions="FillAndExpand"
BackgroundColor="#088da5" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
LoginPage.xaml.cs -> https://pastebin.com/Lk7PKASc
13 replies
CC#
Created by .bobgoblin on 12/20/2022 in #help
❔ Setting Up First Xamarin FOrms
okay - i'll start back at the beginning and see....
13 replies
CC#
Created by .bobgoblin on 11/30/2022 in #help
❔ Issue With Code
lol - certainly not. One of those things to change, but just trying to get this puppy into GitHub atm
11 replies
CC#
Created by .bobgoblin on 11/30/2022 in #help
❔ Issue With Code
ah - that would explain it
11 replies
CC#
Created by .bobgoblin on 11/30/2022 in #help
❔ Issue With Code
ohhh, i didn't realize i forgot the error
11 replies
CC#
Created by .bobgoblin on 11/30/2022 in #help
❔ Issue With Code
interesting...I was using the most recent Rest Sharp nuget package, I downgraded it to 106.12.0 and the issue is resolved.
11 replies
CC#
Created by .bobgoblin on 11/20/2022 in #help
❔ DI Question
ohhh, that get's loaded. Could be a DI problem, could be a code smell
9 replies
CC#
Created by .bobgoblin on 11/20/2022 in #help
❔ DI Question
I tried changing the AddSingleton() to AddTransient() and same error
9 replies
CC#
Created by .bobgoblin on 11/20/2022 in #help
❔ DI Question
i checked in program.cs and i didn't see i had set up services... for the same thing twice, so it means something other than what i thought
9 replies