This repository was archived by the owner on Oct 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +18
-87
lines changed
java/com/esoxjem/movieguide/network Expand file tree Collapse file tree 12 files changed +18
-87
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest
3
- package = " com.esoxjem.movieguide "
4
- xmlns : android = " http://schemas.android.com/apk/res/android " >
3
+ xmlns : android = " http://schemas.android.com/apk/res/android "
4
+ package = " com.esoxjem.movieguide " >
5
5
6
6
<uses-permission android : name =" android.permission.INTERNET" />
7
7
Original file line number Diff line number Diff line change @@ -87,12 +87,6 @@ Cache provideCache(Context context)
87
87
return new Cache (cacheDir , cacheSize );
88
88
}
89
89
90
- @ Provides
91
- @ Singleton
92
- RequestHandler provideRequestHandler (OkHttpClient okHttpClient )
93
- {
94
- return new RequestHandler (okHttpClient );
95
- }
96
90
97
91
@ Provides
98
92
@ Singleton
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
8
8
<include layout =" @layout/toolbar" />
9
9
10
- <LinearLayout android : layout_width =" match_parent"
11
- android : layout_height =" match_parent"
12
- android : divider =" ?android:attr/dividerHorizontal"
13
- android : orientation =" horizontal" >
10
+ <LinearLayout
11
+ android : layout_width =" match_parent"
12
+ android : layout_height =" match_parent"
13
+ android : divider =" ?android:attr/dividerHorizontal"
14
+ android : orientation =" horizontal" >
14
15
15
16
<fragment
16
17
android : id =" @+id/fragment_listing"
25
26
android : layout_width =" 0dp"
26
27
android : layout_height =" match_parent"
27
28
android : layout_weight =" 3" />
28
- </LinearLayout >
29
+ </LinearLayout >
29
30
30
31
</LinearLayout >
Original file line number Diff line number Diff line change 1
1
<android .support.design.widget.CoordinatorLayout
2
- android : id =" @+id/main_content"
3
2
xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
5
4
xmlns : tools =" http://schemas.android.com/tools"
5
+ android : id =" @+id/main_content"
6
6
android : layout_width =" match_parent"
7
7
android : layout_height =" match_parent"
8
8
android : layout_alignParentTop =" true" >
Original file line number Diff line number Diff line change 1
1
<android .support.design.widget.CoordinatorLayout
2
- android : id =" @+id/main_content"
3
2
xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
5
4
xmlns : tools =" http://schemas.android.com/tools"
5
+ android : id =" @+id/main_content"
6
6
android : layout_width =" match_parent"
7
7
android : layout_height =" match_parent"
8
8
android : layout_alignParentTop =" true" >
Original file line number Diff line number Diff line change 6
6
7
7
<android .support.v7.widget.RecyclerView
8
8
android : id =" @+id/movies_listing"
9
- android : scrollbars =" vertical"
10
9
android : layout_width =" match_parent"
11
- android : layout_height =" match_parent" />
10
+ android : layout_height =" match_parent"
11
+ android : scrollbars =" vertical" />
12
12
</FrameLayout >
Original file line number Diff line number Diff line change 1
1
<FrameLayout
2
- android : id =" @+id/movie_container"
3
2
xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
xmlns : tools =" http://schemas.android.com/tools"
4
+ android : id =" @+id/movie_container"
5
5
android : layout_width =" match_parent"
6
6
android : layout_height =" 320dp"
7
7
android : layout_gravity =" center"
8
- android : clickable =" true"
9
8
android : layout_margin =" 1dp"
9
+ android : clickable =" true"
10
10
android : foreground =" ?attr/selectableItemBackground" >
11
11
12
12
<ImageView
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<LinearLayout
3
- android : id =" @+id/review"
4
3
xmlns : android =" http://schemas.android.com/apk/res/android"
5
4
xmlns : tools =" http://schemas.android.com/tools"
5
+ android : id =" @+id/review"
6
6
android : layout_width =" match_parent"
7
7
android : layout_height =" match_parent"
8
8
android : layout_marginBottom =" 16dp"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<android .support.v7.widget.Toolbar
3
- android : id =" @+id/toolbar"
4
3
xmlns : android =" http://schemas.android.com/apk/res/android"
5
4
xmlns : app =" http://schemas.android.com/apk/res-auto"
5
+ android : id =" @+id/toolbar"
6
6
android : layout_width =" match_parent"
7
7
android : layout_height =" ?attr/actionBarSize"
8
8
android : layout_alignParentTop =" true"
Original file line number Diff line number Diff line change 10
10
android : id =" @+id/video_thumb"
11
11
android : layout_width =" 150dp"
12
12
android : layout_height =" 150dp"
13
+ android : layout_marginBottom =" 16dp"
13
14
android : layout_marginRight =" 16dp"
14
- android : layout_marginTop =" 16dp"
15
- android : layout_marginBottom =" 16dp" />
15
+ android : layout_marginTop =" 16dp" />
16
16
17
17
</FrameLayout >
You can’t perform that action at this time.
0 commit comments