Browse Source

fix last fix

pull/61/merge
oogee 6 years ago
parent
commit
eef6caf28e
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java
  2. 1
      app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java

2
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java

@ -125,7 +125,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo
});
}
boardAdapter = new BoardAdapter(getApplicationContext(), parsedSubBoards, parsedTopics);
boardAdapter = new BoardAdapter(this, parsedSubBoards, parsedTopics);
RecyclerView mainContent = findViewById(R.id.board_recycler_view);
mainContent.setAdapter(boardAdapter);
final LinearLayoutManager layoutManager = new LinearLayoutManager(this);

1
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java

@ -190,7 +190,6 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
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

Loading…
Cancel
Save