File tree Expand file tree Collapse file tree 6 files changed +10
-9
lines changed
android-pullrefreshview/src/main/res/layout
java/pulltorefresh/android/heaven7/com/pulltorefesh/sample Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 13
13
android : layout_width =" match_parent"
14
14
android : layout_height =" match_parent" >
15
15
16
- <android .support.v7 .widget.RecyclerView
16
+ <androidx .recyclerview .widget.RecyclerView
17
17
android : id =" @+id/rv"
18
18
android : layout_width =" match_parent"
19
19
android : layout_height =" match_parent"
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ dependencies {
29
29
// compile 'com.android.support.constraint:constraint-layout:1.0.2'
30
30
implementation ' com.jakewharton:butterknife:8.4.0'
31
31
annotationProcessor " com.jakewharton:butterknife-compiler:8.4.0"
32
- // compile 'com.heaven7.android.pullrefresh2:android-pullrefreshview2:1.0'
32
+
33
33
implementation project(' :android-pullrefreshview' )
34
- // compile 'com.heaven7.android.pullrefresh:android-pullrefreshview:1.0.1'
34
+
35
35
annotationProcessor files(' libs/TestProcessor.jar' )
36
36
implementation files(' libs/TestProcessor.jar' )
37
37
Original file line number Diff line number Diff line change 2
2
3
3
import android .os .Bundle ;
4
4
import android .support .annotation .Nullable ;
5
- import android .support .v7 .app .AppCompatActivity ;
6
5
import android .view .Gravity ;
7
6
7
+ import androidx .appcompat .app .AppCompatActivity ;
8
+
8
9
import com .heaven7 .core .util .Toaster ;
9
10
10
11
import butterknife .ButterKnife ;
Original file line number Diff line number Diff line change 3
3
import android .content .Context ;
4
4
import android .os .Bundle ;
5
5
import android .support .annotation .Nullable ;
6
- import android .support .v7 .widget .LinearLayoutManager ;
7
6
import android .view .View ;
8
7
8
+ import androidx .recyclerview .widget .LinearLayoutManager ;
9
+
9
10
import com .heaven7 .adapter .BaseSelector ;
10
11
import com .heaven7 .adapter .QuickRecycleViewAdapter ;
11
12
import com .heaven7 .adapter .util .ViewHelper2 ;
Original file line number Diff line number Diff line change 3
3
import android .content .Context ;
4
4
import android .os .Bundle ;
5
5
import android .support .annotation .Nullable ;
6
- import android .support .v7 .widget .LinearLayoutManager ;
7
6
import android .view .View ;
8
7
8
+ import androidx .recyclerview .widget .LinearLayoutManager ;
9
+
9
10
import com .heaven7 .adapter .BaseSelector ;
10
11
import com .heaven7 .adapter .QuickRecycleViewAdapter ;
11
12
import com .heaven7 .adapter .util .ViewHelper2 ;
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : app =" http://schemas.android.com/apk/res-auto"
4
- xmlns : tools =" http://schemas.android.com/tools"
5
3
android : layout_width =" match_parent"
6
4
android : layout_height =" match_parent"
7
- tools : context = " pulltorefresh.android.heaven7.com.pulltorefesh.MainActivity " >
5
+ >
8
6
9
7
<TextView
10
8
android : layout_width =" wrap_content"
You can’t perform that action at this time.
0 commit comments