Skip to content

Commit

Permalink
updated to V1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AnJiaoDe committed May 20, 2018
1 parent 87e9ca4 commit caa73c9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion .idea/modules.xml

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

Binary file modified app/build/outputs/apk/app-debug.apk
Binary file not shown.
9 changes: 9 additions & 0 deletions cyflowlayoutlibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ android {
}
}
}
//---------------------------------------------下面的必加,加上下面的作用是在上传后会带上注释,不然会发现没有注释
// 打包源码
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
artifacts {
archives sourcesJar
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public int getCount() {
return list_bean.size();
}

public final View getView(FlowLayout parent, final int position) {
public View getView(FlowLayout parent, final int position) {

View view = LayoutInflater.from(parent.getContext()).inflate(getItemLayoutID(position, list_bean.get(position)), parent, false);

Expand Down

0 comments on commit caa73c9

Please sign in to comment.