Skip to content

Instantly share code, notes, and snippets.

@raver99
raver99 / CustomRefreshViewRenderer.cs
Created February 4, 2020 14:22
Workaround for Xamarin CollectionView + Refresh View + Header Issue (https://github.com/xamarin/Xamarin.Forms/issues/8282)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using MyProject.iOS.Renderers;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
using VisualElement = Xamarin.Forms.VisualElement;
@LynoDesu
LynoDesu / AndroidHelpers.cs
Created June 20, 2018 19:04
Disable ShiftMode in Xamarin.Forms Android BottomNavigationView
using System;
using Android.Support.Design.Internal;
using Android.Support.Design.Widget;
namespace MyProject.App.Droid.Helpers
{
public static class AndroidHelpers
{
public static void SetShiftMode(this BottomNavigationView bottomNavigationView, bool enableShiftMode, bool enableItemShiftMode)
{