Skip to content

Commit 6a2e6e5

Browse files
committed
Temporary remove of realm from example
1 parent 0597663 commit 6a2e6e5

15 files changed

+7
-1132
lines changed

MPChartExample/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ repositories {
5555

5656
dependencies {
5757
//compile fileTree(dir: 'libs', include: ['*.jar'])
58-
compile project(':MPChartLib-Realm') // clone "https://github.com/PhilJay/MPAndroidChart-Realm" to get this or uncomment the gradle dependency below:
59-
//compile 'com.github.PhilJay:MPAndroidChart-Realm:v1.0.0'
58+
//compile project(':MPChartLib-Realm') // clone "https://github.com/PhilJay/MPAndroidChart-Realm" to get this or uncomment the gradle dependency below:
59+
//compile 'com.github.PhilJay:MPAndroidChart-Realm:v0.9.9'
6060

61-
//compile project(':MPChartLib')
61+
compile project(':MPChartLib')
6262
compile 'com.android.support:appcompat-v7:23.1.1'
6363
//compile 'io.realm:realm-android:0.87.5' // dependency for realm-database API (http://realm.io)
6464
//compile 'com.github.PhilJay:MPAndroidChart:v2.2.5'

MPChartExample/src/com/xxmassdeveloper/mpchartexample/notimportant/MainActivity.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import com.xxmassdeveloper.mpchartexample.StackedBarActivity;
4747
import com.xxmassdeveloper.mpchartexample.StackedBarActivityNegative;
4848
import com.xxmassdeveloper.mpchartexample.fragments.SimpleChartDemo;
49-
import com.xxmassdeveloper.mpchartexample.realm.RealmMainActivity;
5049

5150
import java.util.ArrayList;
5251

@@ -275,8 +274,8 @@ public void onItemClick(AdapterView<?> av, View v, int pos, long arg3) {
275274
startActivity(i);
276275
break;
277276
case 28:
278-
i = new Intent(this, RealmMainActivity.class);
279-
startActivity(i);
277+
//i = new Intent(this, RealmMainActivity.class);
278+
//startActivity(i);
280279
break;
281280
case 29:
282281
i = new Intent(this, LineChartTime.class);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/realm/RealmBaseActivity.java

-203
This file was deleted.

MPChartExample/src/com/xxmassdeveloper/mpchartexample/realm/RealmDatabaseActivityBar.java

-69
This file was deleted.

MPChartExample/src/com/xxmassdeveloper/mpchartexample/realm/RealmDatabaseActivityBubble.java

-71
This file was deleted.

0 commit comments

Comments
 (0)