Skip to content

Commit 5030b36

Browse files
committed
More Cleanup
I've removed the realm examples, mainly because the library was buggy. In the previous commit, I already removed the examples from the list since they didn't add anything to the overall demonstration. I thought that if anyone wants to use realm.io with the charts, they can see the actual library. The file structure has been updated to match how Android Studio does things. Some files added way back when have been deleted as they don't do anything but cause the linter to freak out about 'unused properties' All 'build.gradle' files have been refreshed as well. Small addition to the README file to add a quick way to reach sections of the page.
1 parent db7dda2 commit 5030b36

File tree

173 files changed

+71
-1576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+71
-1576
lines changed

.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs

Lines changed: 0 additions & 4 deletions
This file was deleted.

MPChartExample/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs

Lines changed: 0 additions & 3 deletions
This file was deleted.

MPChartExample/build.gradle

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.application'
2-
apply plugin: 'realm-android'
32

43
android {
54
compileSdkVersion 28
@@ -10,15 +9,6 @@ android {
109
versionCode 56
1110
versionName '3.0.3'
1211
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
13-
14-
sourceSets {
15-
main {
16-
java.srcDirs = ['src']
17-
res.srcDirs = ['res']
18-
assets.srcDirs = ['assets']
19-
manifest.srcFile 'AndroidManifest.xml'
20-
}
21-
}
2212
}
2313

2414
buildTypes {
@@ -27,25 +17,10 @@ android {
2717
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2818
}
2919
}
30-
31-
lintOptions {
32-
abortOnError false
33-
}
3420
}
3521

3622
dependencies {
3723
implementation "androidx.appcompat:appcompat:1.0.0"
3824
implementation 'com.google.android.material:material:1.0.0'
39-
//implementation "androidx.legacy:legacy-support-v4:1.0.0"
40-
//implementation "androidx.legacy:legacy-support-v13:1.0.0"
41-
//compile project(':MPChartLib-Realm') // clone "https://github.com/PhilJay/MPAndroidChart-Realm" to get this or uncomment the gradle dependency below:
42-
implementation 'com.github.PhilJay:MPAndroidChart-Realm:v2.0.2@aar'
4325
implementation project(':MPChartLib')
4426
}
45-
46-
repositories {
47-
maven { url "https://jitpack.io" }
48-
maven { // this is for realm-db
49-
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
50-
}
51-
}

MPChartExample/proguard-project.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

MPChartExample/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

MPChartExample/project.properties

Lines changed: 0 additions & 15 deletions
This file was deleted.

MPChartExample/res/layout/activity_bubblechart_noseekbar.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

MPChartExample/res/layout/activity_candlechart_noseekbar.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

MPChartExample/res/layout/activity_horizontalbarchart_noseekbar.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

MPChartExample/res/layout/activity_piechart_noseekbar.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)