From 318624814de58dfca22f9b7b77c30aae5eb669b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Thu, 31 Oct 2019 20:32:20 +0800 Subject: [PATCH] code refactor --- Android/app/src/main/java/pub/doric/demo/MainActivity.java | 2 +- Android/doric/src/main/java/pub/doric/{ => dev}/DevPanel.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename Android/doric/src/main/java/pub/doric/{ => dev}/DevPanel.java (93%) diff --git a/Android/app/src/main/java/pub/doric/demo/MainActivity.java b/Android/app/src/main/java/pub/doric/demo/MainActivity.java index 5be44d29..cddc1909 100644 --- a/Android/app/src/main/java/pub/doric/demo/MainActivity.java +++ b/Android/app/src/main/java/pub/doric/demo/MainActivity.java @@ -24,7 +24,7 @@ import androidx.appcompat.app.AppCompatActivity; import java.io.IOException; -import pub.doric.DevPanel; +import pub.doric.dev.DevPanel; import pub.doric.Doric; import pub.doric.DoricContext; import pub.doric.dev.LocalServer; diff --git a/Android/doric/src/main/java/pub/doric/DevPanel.java b/Android/doric/src/main/java/pub/doric/dev/DevPanel.java similarity index 93% rename from Android/doric/src/main/java/pub/doric/DevPanel.java rename to Android/doric/src/main/java/pub/doric/dev/DevPanel.java index fdba6eb1..e5aa2bba 100644 --- a/Android/doric/src/main/java/pub/doric/DevPanel.java +++ b/Android/doric/src/main/java/pub/doric/dev/DevPanel.java @@ -1,4 +1,4 @@ -package pub.doric; +package pub.doric.dev; import android.os.Bundle; import android.view.LayoutInflater; @@ -10,6 +10,8 @@ import androidx.annotation.Nullable; import com.google.android.material.bottomsheet.BottomSheetDialogFragment; +import pub.doric.R; + public class DevPanel extends BottomSheetDialogFragment { public DevPanel() {