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 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
{
View MainPage.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"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="XamarinFormsCommandDemo.MainPage"
xmlns:vm="clr-namespace:XamarinFormsCommandDemo">
<ContentPage.BindingContext>
<vm:MainViewModel/>
View DeactivateSomething.cs
using System;
using System.Configuration;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace MyFunctionApp
{
public static class DeactivateSomething
View local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"AzureWebJobsDashboard": "UseDevelopmentStorage=true"
},
"ConnectionStrings": {
"MyConnectionString": "<sqlclient-connection-string>"
}
}
View custompicker.cs
public class CustomPicker : Picker
{
public string DoneButtonText
{
get
{
return (string)GetValue(DoneButtonTextProperty);
}
set
{
View customrenderer_droid.cs
public class CustomPickerRenderer : PickerRenderer
{
AlertDialog _dialog;
IElementController ElementController => Element as IElementController;
CustomPicker customPicker;
public CustomPickerRenderer(Context context) : base(context)
{
}
protected override void OnElementChanged(ElementChangedEventArgs<Picker> e)
You can’t perform that action at this time.