Showing
5 changed files
with
6 additions
and
11 deletions
... | @@ -3,14 +3,12 @@ package com.sunnni.smartdoorlock.api; | ... | @@ -3,14 +3,12 @@ package com.sunnni.smartdoorlock.api; |
3 | import android.os.Handler; | 3 | import android.os.Handler; |
4 | import android.util.Log; | 4 | import android.util.Log; |
5 | 5 | ||
6 | -import com.google.gson.JsonArray; | ||
7 | import com.google.gson.JsonElement; | 6 | import com.google.gson.JsonElement; |
8 | import com.google.gson.JsonObject; | 7 | import com.google.gson.JsonObject; |
9 | import com.google.gson.JsonParser; | 8 | import com.google.gson.JsonParser; |
9 | +import com.sunnni.smartdoorlock.data.Auth; | ||
10 | +import com.sunnni.smartdoorlock.data.Setting; | ||
10 | 11 | ||
11 | -import org.json.JSONObject; | ||
12 | - | ||
13 | -import java.io.BufferedInputStream; | ||
14 | import java.io.BufferedReader; | 12 | import java.io.BufferedReader; |
15 | import java.io.InputStream; | 13 | import java.io.InputStream; |
16 | import java.io.InputStreamReader; | 14 | import java.io.InputStreamReader; | ... | ... |
... | @@ -11,7 +11,7 @@ import android.widget.Toast; | ... | @@ -11,7 +11,7 @@ import android.widget.Toast; |
11 | 11 | ||
12 | import com.sunnni.smartdoorlock.R; | 12 | import com.sunnni.smartdoorlock.R; |
13 | import com.sunnni.smartdoorlock.api.Api; | 13 | import com.sunnni.smartdoorlock.api.Api; |
14 | -import com.sunnni.smartdoorlock.api.Setting; | 14 | +import com.sunnni.smartdoorlock.data.Setting; |
15 | 15 | ||
16 | import androidx.appcompat.app.AppCompatActivity; | 16 | import androidx.appcompat.app.AppCompatActivity; |
17 | 17 | ... | ... |
... | @@ -8,12 +8,9 @@ import android.content.Intent; | ... | @@ -8,12 +8,9 @@ import android.content.Intent; |
8 | import android.content.SharedPreferences; | 8 | import android.content.SharedPreferences; |
9 | import android.os.Bundle; | 9 | import android.os.Bundle; |
10 | import android.os.Handler; | 10 | import android.os.Handler; |
11 | -import android.util.Log; | ||
12 | -import android.view.MotionEvent; | ||
13 | import android.view.View; | 11 | import android.view.View; |
14 | import android.view.animation.Animation; | 12 | import android.view.animation.Animation; |
15 | import android.view.animation.AnimationUtils; | 13 | import android.view.animation.AnimationUtils; |
16 | -import android.widget.Button; | ||
17 | import android.widget.ImageView; | 14 | import android.widget.ImageView; |
18 | import android.widget.LinearLayout; | 15 | import android.widget.LinearLayout; |
19 | import android.widget.Toast; | 16 | import android.widget.Toast; |
... | @@ -22,7 +19,7 @@ import com.google.android.material.textfield.TextInputEditText; | ... | @@ -22,7 +19,7 @@ import com.google.android.material.textfield.TextInputEditText; |
22 | import com.google.android.material.textfield.TextInputLayout; | 19 | import com.google.android.material.textfield.TextInputLayout; |
23 | import com.sunnni.smartdoorlock.R; | 20 | import com.sunnni.smartdoorlock.R; |
24 | import com.sunnni.smartdoorlock.api.Api; | 21 | import com.sunnni.smartdoorlock.api.Api; |
25 | -import com.sunnni.smartdoorlock.api.Auth; | 22 | +import com.sunnni.smartdoorlock.data.Auth; |
26 | 23 | ||
27 | public class SplashActivity extends AppCompatActivity { | 24 | public class SplashActivity extends AppCompatActivity { |
28 | 25 | ... | ... |
-
Please register or login to post a comment