Skip to content

Commit

Permalink
优化商详页滑动动画效果
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchong211 committed Apr 18, 2019
1 parent b1a44ff commit e5e5093
Show file tree
Hide file tree
Showing 18 changed files with 597 additions and 98 deletions.
29 changes: 29 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions .idea/markdown-navigator.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions YCShopDetailLayoutLib/build.gradle
@@ -1,18 +1,13 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 26


compileSdkVersion 28

defaultConfig {
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {
Expand All @@ -26,8 +21,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
}

/** 以下开始是将Android Library上传到jcenter的相关配置**/
Expand Down
@@ -0,0 +1,25 @@
package com.ycbjie.ycshopdetaillayoutlib;

import android.util.Log;

public class LoggerUtils {

private static boolean isLog = false;

public static void setIsLog(boolean isLog) {
LoggerUtils.isLog = isLog;
}

public static void i(String string){
if (isLog){
Log.i("LoggerUtils",string);
}
}


public static void d(String string){
if (isLog){
Log.d("LoggerUtils",string);
}
}
}

0 comments on commit e5e5093

Please sign in to comment.