Skip to content

Commit

Permalink
actions: refactor RealmNews model to kotlin (fixes open-learning-ex…
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 and dogi authored Dec 20, 2023
1 parent 53b7cd9 commit c80a690
Show file tree
Hide file tree
Showing 10 changed files with 282 additions and 423 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1205
versionName "0.12.5"
versionCode 1206
versionName "0.12.6"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onDestroy() {

@Override
public void showReply(RealmNews news, boolean fromLogin) {
startActivity(new Intent(getActivity(), ReplyActivity.class).putExtra("id", news.getId()).putExtra("fromLogin", fromLogin));
startActivity(new Intent(getActivity(), ReplyActivity.class).putExtra("id", news.id).putExtra("fromLogin", fromLogin));
}

public abstract void setData(List<RealmNews> list);
Expand Down
372 changes: 0 additions & 372 deletions app/src/main/java/org/ole/planet/myplanet/model/RealmNews.java

This file was deleted.

Loading

0 comments on commit c80a690

Please sign in to comment.