This repository was archived by the owner on Jul 7, 2024. It is now read-only.
File tree 2 files changed +6
-3
lines changed
src/main/java/com/shalchian/sarrafi/activity
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ android {
29
29
applicationId " com.shalchian.sarrafi"
30
30
minSdkVersion 21
31
31
targetSdkVersion 30
32
- versionCode 14
33
- versionName " 1.1.4 "
32
+ versionCode 15
33
+ versionName " 1.1.5 "
34
34
multiDexEnabled true
35
35
android. defaultConfig. vectorDrawables. useSupportLibrary = true
36
36
}
@@ -119,7 +119,7 @@ dependencies {
119
119
implementation ' com.shreyaspatil:MaterialDialog:2.1'
120
120
121
121
// Google Play Core
122
- implementation ' com.google.android.play:core:1.8.0 '
122
+ implementation ' com.google.android.play:core:1.8.2 '
123
123
124
124
// Material Navigation View Library
125
125
implementation ' com.shreyaspatil:MaterialNavigationView:1.2'
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ protected void onCreate(Bundle savedInstanceState) {
84
84
status_text = findViewById (R .id .status_text );
85
85
86
86
ArrayList <FavoriteModel > list = DatabaseManager .getInstance ().getFavoriteList ();
87
+ if (list == null )
88
+ list = new ArrayList <>();
89
+
87
90
adapter = new EditListAdapter (list , this );
88
91
89
92
RecyclerView recyclerView = findViewById (R .id .fav_list_rcv );
You can’t perform that action at this time.
0 commit comments