Skip to content

Commit 8481b86

Browse files
committed
feat:read json from assets and save it to db
1 parent a1f82da commit 8481b86

16 files changed

+28043
-24
lines changed

app/build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ dependencies {
4242
testCompile 'junit:junit:4.12'
4343
compile 'com.android.support.constraint:constraint-layout:1.0.2'
4444
compile rootProject.ext.dependencies["retrofit"]
45-
// compile rootProject.ext.dependencies["awesomeQRCode"]
4645
compile rootProject.ext.dependencies["rxjava2"]
4746
compile rootProject.ext.dependencies["gson"]
4847
compile rootProject.ext.dependencies["retrofit_rxjava"]
4948
compile rootProject.ext.dependencies["retrofit_gson"]
5049
compile rootProject.ext.dependencies["glide"]
51-
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
50+
annotationProcessor rootProject.ext.dependencies["glide_compiler"]
5251
compile rootProject.ext.dependencies["butterknife"]
53-
apt rootProject.ext.dependencies["butterknife_apt"]
5452
compile rootProject.ext.dependencies["eventbus"]
5553
compile rootProject.ext.dependencies["bugly_sdk"]
5654
compile rootProject.ext.dependencies["bugly_ndk"]

app/src/main/AndroidManifest.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<uses-permission android:name="android.permission.INTERNET" />
66

77
<application
8+
android:name=".GankApplication"
89
android:allowBackup="true"
910
android:icon="@mipmap/ic_launcher"
10-
android:name=".GankApplication"
1111
android:label="@string/app_name"
1212
android:roundIcon="@mipmap/ic_launcher_round"
1313
android:supportsRtl="true"
@@ -19,6 +19,9 @@
1919
<category android:name="android.intent.category.LAUNCHER" />
2020
</intent-filter>
2121
</activity>
22+
<activity
23+
android:name=".weather.WeatherActivity"
24+
android:screenOrientation="portrait" />
2225
</application>
2326

2427
</manifest>

0 commit comments

Comments
 (0)