陈文博 5 anos atrás
pai
commit
59193cc972

+ 0
- 29
.idea/codeStyles/Project.xml Ver arquivo

@@ -1,29 +0,0 @@
1
-<component name="ProjectCodeStyleConfiguration">
2
-  <code_scheme name="Project" version="173">
3
-    <Objective-C-extensions>
4
-      <file>
5
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
6
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
7
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
8
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
9
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
10
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
11
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
12
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
13
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
14
-      </file>
15
-      <class>
16
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
17
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
18
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
19
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
20
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
21
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
22
-      </class>
23
-      <extensions>
24
-        <pair source="cpp" header="h" fileNamingConvention="NONE" />
25
-        <pair source="c" header="h" fileNamingConvention="NONE" />
26
-      </extensions>
27
-    </Objective-C-extensions>
28
-  </code_scheme>
29
-</component>

+ 0
- 3
.idea/gradle.xml Ver arquivo

@@ -3,9 +3,6 @@
3 3
   <component name="GradleSettings">
4 4
     <option name="linkedExternalProjectsSettings">
5 5
       <GradleProjectSettings>
6
-        <compositeConfiguration>
7
-          <compositeBuild compositeDefinitionSource="SCRIPT" />
8
-        </compositeConfiguration>
9 6
         <option name="distributionType" value="DEFAULT_WRAPPED" />
10 7
         <option name="externalProjectPath" value="$PROJECT_DIR$" />
11 8
         <option name="resolveModulePerSourceSet" value="false" />

+ 30
- 1
.idea/misc.xml Ver arquivo

@@ -5,7 +5,36 @@
5 5
       <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
6 6
     </configurations>
7 7
   </component>
8
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
8
+  <component name="ProjectCodeStyleConfiguration">
9
+    <code_scheme name="Project" version="173">
10
+      <Objective-C-extensions>
11
+        <file>
12
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
13
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
14
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
15
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
16
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
17
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
18
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
19
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
20
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
21
+        </file>
22
+        <class>
23
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
24
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
25
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
26
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
27
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
28
+          <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
29
+        </class>
30
+        <extensions>
31
+          <pair source="cpp" header="h" fileNamingConvention="NONE" />
32
+          <pair source="c" header="h" fileNamingConvention="NONE" />
33
+        </extensions>
34
+      </Objective-C-extensions>
35
+    </code_scheme>
36
+  </component>
37
+  <component name="ProjectRootManager">
9 38
     <output url="file://$PROJECT_DIR$/build/classes" />
10 39
   </component>
11 40
   <component name="ProjectType">

+ 6
- 0
.idea/vcs.xml Ver arquivo

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

app/src/androidTest/java/com/example/dninterface/ExampleInstrumentedTest.java → app/src/androidTest/java/com/example/myinterface/ExampleInstrumentedTest.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface;
1
+package com.example.myinterface;
2 2
 
3 3
 import android.content.Context;
4 4
 import android.support.test.InstrumentationRegistry;

+ 3
- 3
app/src/main/AndroidManifest.xml Ver arquivo

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
-    package="com.example.dninterface">
3
+    package="com.example.myinterface">
4 4
 
5 5
     <application
6 6
         android:allowBackup="true"
@@ -9,8 +9,8 @@
9 9
         android:roundIcon="@mipmap/ic_launcher_round"
10 10
         android:supportsRtl="true"
11 11
         android:theme="@style/AppTheme">
12
-        <activity android:name=".SecondActivity"></activity>
13
-        <activity android:name=".MainActivity">
12
+        <activity android:name="com.example.myinterface.SecondActivity"></activity>
13
+        <activity android:name="com.example.myinterface.MainActivity">
14 14
             <intent-filter>
15 15
                 <action android:name="android.intent.action.MAIN" />
16 16
 

app/src/main/java/com/example/dninterface/MainActivity.java → app/src/main/java/com/example/myinterface/MainActivity.java Ver arquivo

@@ -1,20 +1,18 @@
1
-package com.example.dninterface;
1
+package com.example.myinterface;
2 2
 
3 3
 import android.content.Intent;
4 4
 import android.support.v7.app.AppCompatActivity;
5 5
 import android.os.Bundle;
6 6
 import android.util.Log;
7 7
 import android.view.View;
8
-import android.widget.Toast;
9 8
 
10
-import com.example.dninterface.bean.ParamBean;
11
-import com.example.dninterface.bean.ResultBean;
12
-import com.example.dninterface.myInterface.Function;
13
-import com.example.dninterface.myInterface.FunctionHasParamHasResult;
14
-import com.example.dninterface.myInterface.FunctionHasParamNoResult;
15
-import com.example.dninterface.myInterface.FunctionManager;
16
-import com.example.dninterface.myInterface.FunctionNoParamHasResult;
17
-import com.example.dninterface.myInterface.FunctionNoParamNoResult;
9
+import com.example.myinterface.bean.ParamBean;
10
+import com.example.myinterface.bean.ResultBean;
11
+import com.example.myinterface.myInterface.FunctionHasParamHasResult;
12
+import com.example.myinterface.myInterface.FunctionHasParamNoResult;
13
+import com.example.myinterface.myInterface.FunctionManager;
14
+import com.example.myinterface.myInterface.FunctionNoParamHasResult;
15
+import com.example.myinterface.myInterface.FunctionNoParamNoResult;
18 16
 
19 17
 public class MainActivity extends AppCompatActivity {
20 18
 

app/src/main/java/com/example/dninterface/SecondActivity.java → app/src/main/java/com/example/myinterface/SecondActivity.java Ver arquivo

@@ -1,14 +1,13 @@
1
-package com.example.dninterface;
1
+package com.example.myinterface;
2 2
 
3 3
 import android.support.v7.app.AppCompatActivity;
4 4
 import android.os.Bundle;
5 5
 import android.util.Log;
6 6
 import android.view.View;
7 7
 
8
-import com.example.dninterface.bean.ParamBean;
9
-import com.example.dninterface.bean.ResultBean;
10
-import com.example.dninterface.myInterface.Function;
11
-import com.example.dninterface.myInterface.FunctionManager;
8
+import com.example.myinterface.bean.ParamBean;
9
+import com.example.myinterface.bean.ResultBean;
10
+import com.example.myinterface.myInterface.FunctionManager;
12 11
 
13 12
 public class SecondActivity extends AppCompatActivity implements View.OnClickListener {
14 13
 

app/src/main/java/com/example/dninterface/bean/ParamBean.java → app/src/main/java/com/example/myinterface/bean/ParamBean.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.bean;
1
+package com.example.myinterface.bean;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/bean/ResultBean.java → app/src/main/java/com/example/myinterface/bean/ResultBean.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.bean;
1
+package com.example.myinterface.bean;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/myInterface/Function.java → app/src/main/java/com/example/myinterface/myInterface/Function.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/myInterface/FunctionHasParamHasResult.java → app/src/main/java/com/example/myinterface/myInterface/FunctionHasParamHasResult.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/myInterface/FunctionHasParamNoResult.java → app/src/main/java/com/example/myinterface/myInterface/FunctionHasParamNoResult.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/myInterface/FunctionManager.java → app/src/main/java/com/example/myinterface/myInterface/FunctionManager.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 import android.text.TextUtils;
4 4
 import android.util.Log;

app/src/main/java/com/example/dninterface/myInterface/FunctionNoParamHasResult.java → app/src/main/java/com/example/myinterface/myInterface/FunctionNoParamHasResult.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

app/src/main/java/com/example/dninterface/myInterface/FunctionNoParamNoResult.java → app/src/main/java/com/example/myinterface/myInterface/FunctionNoParamNoResult.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface.myInterface;
1
+package com.example.myinterface.myInterface;
2 2
 
3 3
 /**
4 4
  * Create by cwb on 2019/2/21

+ 1
- 1
app/src/main/res/values/strings.xml Ver arquivo

@@ -1,3 +1,3 @@
1 1
 <resources>
2
-    <string name="app_name">DnInterface</string>
2
+    <string name="app_name">MyInterface</string>
3 3
 </resources>

app/src/test/java/com/example/dninterface/ExampleUnitTest.java → app/src/test/java/com/example/myinterface/ExampleUnitTest.java Ver arquivo

@@ -1,4 +1,4 @@
1
-package com.example.dninterface;
1
+package com.example.myinterface;
2 2
 
3 3
 import org.junit.Test;
4 4
 

Carregando…
Cancelar
Salvar