From 1f9a0d74b51456a4bfd08423a0bc31f14438efbb Mon Sep 17 00:00:00 2001 From: oogee Date: Thu, 25 Oct 2018 23:42:14 +0300 Subject: [PATCH] fix crash when opening topics from BoardActivity --- .../main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java b/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java index 97857440..15829451 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java @@ -190,6 +190,7 @@ class BoardAdapter extends RecyclerView.Adapter { extras.putString(BUNDLE_TOPIC_TITLE, topic.getSubject()); intent.putExtras(extras); intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); + intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); }); if (topicExpandableVisibility.get(topicViewHolder.getAdapterPosition() - parsedSubBoards