Skip to content

Commit caa73c9

Browse files
committed
updated to V1.1.2
1 parent 87e9ca4 commit caa73c9

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

.idea/gradle.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-141 KB
Binary file not shown.

cyflowlayoutlibrary/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ android {
2020
}
2121
}
2222
}
23+
//---------------------------------------------下面的必加,加上下面的作用是在上传后会带上注释,不然会发现没有注释
24+
// 打包源码
25+
task sourcesJar(type: Jar) {
26+
from android.sourceSets.main.java.srcDirs
27+
classifier = 'sources'
28+
}
29+
artifacts {
30+
archives sourcesJar
31+
}
2332

2433
dependencies {
2534
compile fileTree(dir: 'libs', include: ['*.jar'])

cyflowlayoutlibrary/src/main/java/com/cy/cyflowlayoutlibrary/FlowLayoutAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public int getCount() {
2929
return list_bean.size();
3030
}
3131

32-
public final View getView(FlowLayout parent, final int position) {
32+
public View getView(FlowLayout parent, final int position) {
3333

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

0 commit comments

Comments
 (0)