diff --git a/README.md b/README.md index 9e53c8f..7ee4dac 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ IMPORTANT: UPDATE NOTICE The v1 of this library used to backport the **Switch** widget as well as the **SwitchPreference** component. Since the AppCompat v21 library now includes a **Switch** widget backport ([`SwitchCompat`](http://developer.android.com/reference/android/support/v7/widget/SwitchCompat.html)), -another backport is no longer needed. That is why the v2 of this library now **only includes the SwitchPreference backport**. +another backport is no longer useful. That is why the v2 of this library now **only includes the SwitchPreference backport**. This backport depends on the AppCompat library (the `SwitchPreference` embeds a `SwitchCompat`). @@ -20,6 +20,8 @@ This backport depends on the AppCompat library (the `SwitchPreference` embeds a If your app needs SwitchPreferences however this library is for you! :) +Please also note that the Maven artifact (`apklib`) is no longer supported with this release. + How to use --- @@ -48,30 +50,6 @@ This is an Android library project, you have to add it as a dependency to your p see [this page](http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject) to know how to do that.) -#### Option 3: Maven - -The apklib artifact is available at the **jcenter** repository. Declare the repository and the -dependency in your `pom.xml` file: -```xml - - central - bintray - http://jcenter.bintray.com - - - (...) - - - org.jraf - android-switch-backport - 2.0.0 - apklib - -``` - -Note: the artifacts used to be hosted on the JRAF.org repository, but due to server problems, -they are now hosted on jcenter. Please update your repository declarations! - ### Using the SwitchPreference Once you have done that, have a theme for your application (or Activity), that declares the `asb_switchPreferenceStyle` item