Skip to content

Instantly share code, notes, and snippets.

View LuisAlbertoPenaNunez's full-sized avatar
💪
Hey

Luis Pena LuisAlbertoPenaNunez

💪
Hey
View GitHub Profile
protected override void OnInitialized()
{
InitializeComponent();
NavigationService.NavigateAsync(new Uri($"{Screens.AbsoluteURI}/{Screens.MoviesHomeTabbedPage}/{Screens.ShowingNowNavigationPage}/{Screens.ShowingNow}", UriKind.Absolute));
}
await _navigationService.NavigateAsync($"{NavigationPageYouAreRightNow}/{ScreenYouAreInRightNow}/{ScreenYouWantToGoTo}", navigationParameters);
public partial class App : PrismApplication
{
public App(IPlatformInitializer initializer = null) : base(initializer) { }
protected override void OnInitialized()
{
InitializeComponent();
NavigationService.NavigateAsync(new Uri($"{Screens.AbsoluteURI}/{Screens.MoviesHomeTabbedPage}/{Screens.ShowingNowNavigationPage}/{Screens.ShowingNow}", UriKind.Absolute));
}
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ShowingNowNavigationPage : NavigationPage
{
public ShowingNowNavigationPage(Page page) : base(page)
{
InitializeComponent();
}
}
<?xml version="1.0" encoding="utf-8" ?>
<xf:BottomBarPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Movies.Views.MoviesHomeTabbedPage"
xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
prism:ViewModelLocator.AutowireViewModel="True"
FixedMode="false"
BarTheme="DarkWithAlpha"
xmlns:xf="clr-namespace:BottomBar.XamarinForms;assembly=BottomBar.XamarinForms"
xmlns:screens="clr-namespace:Movies.Views;assembly=Movies"
<?xml version="1.0" encoding="UTF-8"?>
<control:CircleImage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:control="clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions"
x:Class="CarouselDotsGenerator.LittleDotView"
BorderColor = "Transparent"
BorderThickness = "0"
HeightRequest = "10"
WidthRequest = "10"
Aspect = "AspectFit"
public partial class LittleDotView : CircleImage, IDot
{
public LittleDotView()
{
InitializeComponent();
}
public void ChangeFillColorTo(Color to)
{
FillColor = to;
namespace CarouselDotsGenerator
{
public interface IDot
{
void ChangeFillColorTo(Color to);
}
}
using System;
using System.Collections;
using ImageCircle.Forms.Plugin.Abstractions;
using Xamarin.Forms;
using System.Linq;
using CarouselDotsGenerator;
namespace LeonaStore.Components.CarouselDotsGenerator
{
public partial class CarouselDotsGenerator : StackLayout
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Behaviors
{
public class HideViewIf : Behavior<View>
{
View _associatedObject;