Skip to content

towcar/SlicerMenuLibrary

Repository files navigation

Slicer Menu Library

Originally found this library on github, it seemed to me to no longer work due to being outdated and/or lacking ease of use. Anyway I decided to revive it for personal library building experience and because I love this menu animation.

Original Library by Yalantis

Feel free to contribute and suggest updates.

Slicer animation gif

Usage

For a working implementation, have a look at the app module

  1. Add JitPack repository in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }
    
    
  2. Add the dependency to your app build.gradle

   	dependencies {
	        compile 'com.github.towcar:SlicerMenuLibrary:acb8bd8217'
	}

  1. I found setting matching configuration fallbacks to your app build.gradle also fixed a common issue for users
android {
  buildTypes {
      release {
          ...
      }
      dexOptions {
          ...
        // release & debug is in project animators
        matchingFallbacks = ['release', 'debug']
      }
      debug {
          ...
      }
    }
}
  1. Next include butterknife in your app build.gradle
implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

Compatibility

  • Android 6.0 Marshmallow (API level 23)

Changelog

Version: 1.0

  • Initial Build
  • 10/25/2019 - Compatability Update

Releases

No releases published

Packages

No packages published

Languages