GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 2.0 开发计划 · ftyangjun/SmartRefreshLayout@f10ccaf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .idea
    • misc.xml
  • build.gradle
  • refresh-drawable-path/src/main/java/com/scwang/smart/drawable
    • PathsDrawable.java
  • refresh-footer-ball/src/main/java/com/scwang/smart/refresh/footer
    • BallPulseFooter.java
  • refresh-footer-classics
    • build.gradle
    • src
      • androidTest/java/com/scwang/smart/refresh/footer
        • ExampleInstrumentedTest.java
      • main/java/com/scwang/smart/refresh
        • classics
          • ClassicsAbstract.java
        • footer
          • ClassicsFooter.java
  • refresh-header-classics/src/main/java/com/scwang/smart/refresh/header
    • ClassicsHeader.java
  • refresh-header-falsify/src/main/java/com/scwang/smart/refresh/header
    • FalsifyFooter.java
  • refresh-header-radar/src/main/java/com/scwang/smart/refresh/header
    • BezierRadarHeader.java
  • refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header
    • TwoLevelHeader.java
  • refresh-header
    • build.gradle
  • refresh-layout-kernel/src/androidTest/java/com/scwang/smart/refresh/layout
    • ExampleInstrumentedTest.java
  • refresh-layout
    • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.idea/misc.xml‎

Copy file name to clipboardExpand all lines: .idea/misc.xml
+4Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ buildscript {
1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
1212
classpath 'com.novoda:bintray-release:0.9.1'
13-
// classpath 'com.aaron.gradle:bintray-release:1.3.7'
14-
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1513
}
1614
}
1715

@@ -26,6 +24,15 @@ allprojects {
2624
charSet 'UTF-8'
2725
links "http://docs.oracle.com/javase/7/docs/api"
2826
}
27+
exclude(
28+
"**/ClassicsAbstract.java",
29+
"**/ClassicsHeader.java",
30+
"**/PathsDrawable.java",
31+
"**/BallPulseFooter.java",
32+
"**/BezierRadarHeader.java",
33+
"**/TwoLevelHeader.java"
34+
)
35+
options.addStringOption('Xdoclint:none', '-quiet')
2936
}
3037
gradle.projectsEvaluated {
3138
tasks.withType(JavaCompile) {
Collapse file

‎refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java‎

Copy file name to clipboardExpand all lines: refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* 路径
1919
* Created by SCWANG on 2017/6/1.
2020
*/
21-
//@SuppressWarnings({"unused", "WeakerAccess"})
21+
@SuppressWarnings({"unused", "WeakerAccess"})
2222
public class PathsDrawable extends PaintDrawable {
2323

2424
protected int mWidth = 1,mHeight = 1;
Collapse file

‎refresh-footer-ball/src/main/java/com/scwang/smart/refresh/footer/BallPulseFooter.java‎

Copy file name to clipboardExpand all lines: refresh-footer-ball/src/main/java/com/scwang/smart/refresh/footer/BallPulseFooter.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* 球脉冲底部加载组件
2727
* Created by SCWANG on 2017/5/30.
2828
*/
29-
//@SuppressWarnings({"unused", "UnusedReturnValue"})
29+
@SuppressWarnings({"unused", "UnusedReturnValue"})
3030
public class BallPulseFooter extends SimpleComponent implements RefreshFooter {
3131

3232
//<editor-fold desc="属性变量">
Collapse file

‎refresh-footer-classics/build.gradle‎

Copy file name to clipboardExpand all lines: refresh-footer-classics/build.gradle
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ dependencies {
3232
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
3333

3434
api project(':refresh-drawable-paint')
35-
// releaseApi 'com.scwang.smart.refresh:drawable-paint:0.0.1'
36-
compileOnly project(':refresh-layout-kernel')
37-
35+
// api 'com.scwang.smart.refresh:drawable-paint:0.0.1'
36+
// compileOnly project(':refresh-layout-kernel')
37+
compileOnly 'com.scwang.smart:refresh-layout-kernel:0.0.1'
3838
}
3939

4040
publish {
Collapse file

‎refresh-footer-classics/src/androidTest/java/com/scwang/smart/refresh/footer/ExampleInstrumentedTest.java‎

Copy file name to clipboard
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.scwang.smart.refresh.footer;
2+
3+
import android.content.Context;
4+
import android.support.test.InstrumentationRegistry;
5+
import android.support.test.runner.AndroidJUnit4;
6+
7+
import org.junit.Test;
8+
import org.junit.runner.RunWith;
9+
10+
import static org.junit.Assert.*;
11+
12+
/**
13+
* Instrumented test, which will execute on an Android device.
14+
*
15+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16+
*/
17+
@RunWith(AndroidJUnit4.class)
18+
public class ExampleInstrumentedTest {
19+
@Test
20+
public void useAppContext() {
21+
// Context of the app under test.
22+
Context appContext = InstrumentationRegistry.getTargetContext();
23+
24+
assertEquals("com.scwang.smart.refresh.header.test", appContext.getPackageName());
25+
}
26+
}
Collapse file

‎refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java‎

Copy file name to clipboardExpand all lines: refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
import static android.view.View.MeasureSpec.EXACTLY;
2929

30-
//@SuppressWarnings({"unused", "UnusedReturnValue"})
30+
@SuppressWarnings({"unused", "UnusedReturnValue"})
3131
public abstract class ClassicsAbstract<T extends ClassicsAbstract> extends SimpleComponent implements RefreshComponent {
3232

3333
public static final int ID_TEXT_TITLE = R.id.srl_classics_title;
Collapse file

‎refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java‎

Copy file name to clipboardExpand all lines: refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* 经典上拉底部
2323
* Created by SCWANG on 2017/5/28.
2424
*/
25-
//@SuppressWarnings({"unused", "UnusedReturnValue"})
25+
@SuppressWarnings({"unused", "UnusedReturnValue"})
2626
public class ClassicsFooter extends ClassicsAbstract<ClassicsFooter> implements RefreshFooter {
2727

2828
public static String REFRESH_FOOTER_PULLING = null;//"上拉加载更多";
Collapse file

‎refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java‎

Copy file name to clipboardExpand all lines: refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* 经典下拉头部
4040
* Created by SCWANG on 2017/5/28.
4141
*/
42-
//@SuppressWarnings({"unused", "UnusedReturnValue"})
42+
@SuppressWarnings({"unused", "UnusedReturnValue"})
4343
public class ClassicsHeader extends ClassicsAbstract<ClassicsHeader> implements RefreshHeader {
4444

4545
public static final int ID_TEXT_UPDATE = R.id.srl_classics_update;
Collapse file

‎refresh-header-falsify/src/main/java/com/scwang/smart/refresh/header/FalsifyFooter.java‎

Copy file name to clipboardExpand all lines: refresh-header-falsify/src/main/java/com/scwang/smart/refresh/header/FalsifyFooter.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* 用于 正真的 Footer 在 RefreshLayout 外部时,
1616
* Created by SCWANG on 2017/6/14.
1717
*/
18-
//@SuppressWarnings("unused")
18+
@SuppressWarnings("unused")
1919
public class FalsifyFooter extends FalsifyAbstract implements RefreshFooter {
2020

2121
//<editor-fold desc="FalsifyHeader">

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.