Skip to content

Instantly share code, notes, and snippets.

🤓
Focusing

Sümeyya Tuğçe Arar sumeyyaarar

🤓
Focusing
Block or report user

Report or block sumeyyaarar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DummyData.cs
public class DummyData
{
public List<MyModel> MyList { get; set; }
public DummyData()
{
MyList.AddRange(new List<MyModel> {
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
View ios_spec_namespace.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>iOS Platform Spec Snippet</Title>
<Author>Sumeyya Tugce Arar</Author>
<Description>Xaml namespace</Description><Author>Myself</Author>
<Shortcut>iosSpec</Shortcut>
</Header>
<Snippet>
View android_spec_namespace.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Android Platform Spec Snippet</Title>
<Author>Sumeyya Tugce Arar</Author>
<Description>Xaml namespace</Description><Author>Myself</Author>
<Shortcut>andSpec</Shortcut>
</Header>
<Snippet>
View bindable_property.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Bindable Snippet</Title>
<Author>Sumeyya Tugce Arar</Author>
<Shortcut>bindable</Shortcut>
</Header>
<Snippet>
<Code Language="CSHARP">
View command_with_path.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="MyProject.Views.MyPage"
xmlns:vm="clr-namespace:MyProject.ViewModels"
x:Name="myPage">
<ContentPage.BindingContext>
<vm:MyPageViewModel/>
</ContentPage.BindingContext>
<ContentPage.Content>
View LinkPresentationPage.xaml
<StackLayout Margin="20,40" Orientation="Vertical" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand">
<controls:LPView Url="https://www.thegamer.com/assassins-creed-odyssey-things-previous-players-noticed/"/>
<controls:LPView Url="https://www.thegamer.com/dungeons-dragons-pro-tips-building-powerful-characer/"/>
<controls:LPView Url="https://www.thegamer.com/henry-cavill-the-witcher-sword-image/"/>
</StackLayout>
View LPView.cs
public class LPView:View
{
public LPView()
{
this.VerticalOptions = LayoutOptions.FillAndExpand;
this.HorizontalOptions = LayoutOptions.FillAndExpand;
}
public static readonly BindableProperty UrlProperty =
BindableProperty.Create("Url", typeof(string), typeof(LPView), "");
View LPViewRenderer.cs
[assembly: ExportRenderer(typeof(LPView), typeof(LPViewRenderer))]
namespace XFLPApp.iOS.CustomRenderers
{
public class LPViewRenderer : ViewRenderer<LPView, LPLinkView>
{
protected override void OnElementChanged(ElementChangedEventArgs<LPView> e)
{
base.OnElementChanged(e);
if (e.OldElement != null || Element == null) return;
if (e.NewElement != null)
View ogtags.html
<meta property="og:locale" content="tr_TR" />
<meta property="og:type" content="article" />
<meta property="og:title" content="iOS Link Presentation Kütüphanesinin Xamarin Forms&#039;da Kullanımı - Sümeyya Tuğçe Arar" />
<meta property="og:description" content="Link presentation iOS 13 ile birlikte eklenen ve kendi native uygulamalarında zaten kullanılan bir kütüphanedir. Bu kütüphane sayesinde, geliştiriciler artık kendi uygulamlarında zengin URL’leri görüntülerken özelleştirebilirler. Apple bu kütüphaneyi zaten kullanıyor demiştim yani son kullanıcı..." />
<meta property="og:url" content="http://sumeyyaarar.com/?p=808" />
<meta property="og:site_name" content="Sümeyya Tuğçe Arar" />
<meta property="og:image" content="http://sumeyyaarar.com/wp-content/uploads/2019/09/lp_preview_image.jpg" />
View MainViewModel.cs
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using Xamarin.Forms;
namespace XamarinFormsCommandDemo
{
public class MainViewModel : INotifyPropertyChanged
{
You can’t perform that action at this time.