Git Product home page Git Product logo

xama.jtports.showcaseview's Introduction

Xamarin ShowcaseView

platform API License: MIT NuGet Build: Passing

Installation

Simply install the NuGet package into your Xamarin.Android application and use as below.

This library now supports AndroidX libraries rather than v7 support libraries so it may ask you to install these dependencies in order to carry on using this control.

Package Manager:

Install-Package Xama.JTPorts.ShowcaseView -Version 1.0.1

.NET CLI:

dotnet add package Xama.JTPorts.ShowcaseView --version 1.0.1

Namespace: Xama.JTPorts.ShowcaseView

Xamarin.Android Native showcase view. An easy-to-use customizable show case view with circular reveal animation, ported from FancyShowCaseView by Faruk Toptaş

This is a ported build, converted from Java to C# for use with the Xamarin MonoFramework. There are only a couple of new additions from the original library currently.

Features

Ported Functionality

  • Circular reveal animation (API Level 21+).
  • Custom Background colors with opaque variances.
  • Circle and Rounded Rectangle focus shapes.
  • Custom title styles and position.
  • Custom view inflation.
  • Custom enter/exit animations.
  • Chaining multiple Showcase view instances.
  • Showing only one time.

Additional Functionality

  • Auto move-on for showcase queues.
  • Auto dismiss for showcases.

Customary sample GIF

!gif


Basic usage

          ShowCaseView showcase = new ShowCaseView.Builder()
                .Context(this)
                .CloseOnTouch(true)
                .FocusOn(ControlToFocusOn)
                .BackgroundColor(Color.DarkRed)
                .FocusBorderColor(Color.White)
                .FocusBorderSize(15)
                .Title("Showcase text")
                .FocusCircleRadiusFactor(1.5)
                .Build();
                
           showcase.Show();

Contribution

More than happy for people to raise issues, or submit pull requests on adjustments, optimisations or improvements to the existing port. It's been migrated over to AndroidX support libraries so there's room to improve the ways the UI animations are created potentially.

Support πŸ’Ž

If you want to support the work that I do and you find any of these libraries useful? Consider supporting it by joining stargazers for this repository. πŸ”­ 🌠


or alternatively if you want to you can also buy me a coffee.

Buy Me A Coffee

You know, only if you want to.

xama.jtports.showcaseview's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xama.jtports.showcaseview's Issues

java.lang.OutOfMemoryError on some devices.

Describe the bug

While uploading an app to Android Play Store, Pre-launch report found crashes on 3 devices (over 11 tested). The logcat of 2 of the errors include a reference to this library.

Logcat :

java.lang.OutOfMemoryError 1
java.lang.OutOfMemoryError 2

And just in case, the 3rd error in case it is linked with the previous ones :

java.lang.NoSuchFieldError

Smartphone :

OOM1

  • Device: Motorola Moto G4 Play
  • OS: Android 6.0
  • SDK version : 23

OOM2

  • Device: Motorola Moto Z
  • OS: Android 7.0
  • SDK version : Not mentionned

NoSuchFieldError

  • Device: Huawei P8 Lite
  • OS: Android 5.0
  • SDK version : Not mentionned

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.