Skip to content

Commit

Permalink
Match wpandroid's Android API levels and tools
Browse files Browse the repository at this point in the history
  • Loading branch information
hypest committed Oct 29, 2018
1 parent c073c03 commit 86babde
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
11 changes: 5 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 27
buildToolsVersion "27.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
Expand All @@ -31,7 +31,6 @@ repositories {
}

dependencies {
compile 'com.facebook.react:react-native:+'
compile 'com.android.support:recyclerview-v7:23.0.1'
implementation 'com.facebook.react:react-native:+'
implementation 'com.android.support:recyclerview-v7:27.1.1'
}

Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package com.github.godness84.RNRecyclerViewList;

import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.SimpleItemAnimator;

/**
* Implementation of {@link RecyclerView.ItemAnimator} that disables all default animations.
* Implementation of {@link SimpleItemAnimator} that disables all default animations.
*/
/*package*/ class NotAnimatedItemAnimator extends RecyclerView.ItemAnimator {
/*package*/ class NotAnimatedItemAnimator extends SimpleItemAnimator {

@Override
public void runPendingAnimations() {
Expand Down
6 changes: 3 additions & 3 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 27
buildToolsVersion "27.0.3"

defaultConfig {
applicationId "com.example"
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 26
versionCode 1
versionName "1.0"
ndk {
Expand Down

0 comments on commit 86babde

Please sign in to comment.