File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
src/main/java/enjoysmile/com/shimasu Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android {
1010 applicationId " com.enjoysmile.shimasu"
1111 minSdkVersion 18
1212 targetSdkVersion 28
13- versionCode 1
14- versionName " 1.0 "
13+ versionCode 3
14+ versionName " 0.2.1 "
1515 }
1616 buildTypes {
1717 release {
Original file line number Diff line number Diff line change @@ -60,9 +60,13 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
6060
6161 // get activities
6262 RealmResults <Activity > activityResult =
63- realm .where (Activity .class ).sort ("type" , Sort .ASCENDING ).findAll ();
64- mActivityData = new RealmList <>();
65- mActivityData .addAll (activityResult );
63+ realm
64+ .where (Activity .class )
65+ .equalTo ("deleted" , false )
66+ .sort ("type" , Sort .ASCENDING )
67+ .findAll ();
68+ RealmList <Activity > activityData = new RealmList <>();
69+ activityData .addAll (activityResult );
6670
6771 // build the mActivityData array
6872 List <String > activityNames = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments