Skip to content

Commit

Permalink
changed package name for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
arcm111 committed Oct 16, 2021
1 parent d6a751d commit 48bb781
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ float value = snp.setValue(myFloatValue);
```
### XML
```xml
<com.arcm.scalenumberpicker.ScaleNumberPicker
<com.arcm.demo.ScaleNumberPicker
android:id="@+id/scaleNumberPicker"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
6 changes: 2 additions & 4 deletions ScaleNumberPicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ android {
minSdk 21
targetSdk 30

multiDexEnabled true

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
Expand Down Expand Up @@ -46,7 +44,7 @@ afterEvaluate {
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.arcm.ScaleNumberPicker'
groupId = 'com.arcm.scalenumberpicker'
artifactId = 'final'
version = '1.0'
}
Expand All @@ -55,7 +53,7 @@ afterEvaluate {
// Applies the component for the debug build variant.
from components.debug

groupId = 'com.arcm.ScaleNumberPicker'
groupId = 'com.arcm.scalenumberpicker'
artifactId = 'final-debug'
version = '1.0'
}
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {
compileSdk 30

defaultConfig {
applicationId "com.arcm.scalenumberpicker"
applicationId "com.arcm.demo"
minSdk 21
targetSdk 30
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.arcm.scalenumberpicker;
package com.arcm.demo;

import android.content.Context;

Expand All @@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.arcm.scalenumberpicker", appContext.getPackageName());
assertEquals("com.arcm.demo", appContext.getPackageName());
}
}
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.arcm.scalenumberpicker">
package="com.arcm.demo">

<application
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package com.arcm.scalenumberpicker;
package com.arcm.demo;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.arcm.scalenumberpicker.databinding.ActivityMainBinding;
import com.arcm.demo.databinding.ActivityMainBinding;
import com.arcm.scalenumberpicker.ScaleNumberPicker;

public class MainActivity extends AppCompatActivity {
public static final String TAG = "MainActivity";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.arcm.scalenumberpicker;
package com.arcm.demo;

import org.junit.Test;

Expand Down

0 comments on commit 48bb781

Please sign in to comment.