|
@ -97,7 +97,8 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
newTopicFAB = (FloatingActionButton) findViewById(R.id.board_fab); |
|
|
newTopicFAB = (FloatingActionButton) findViewById(R.id.board_fab); |
|
|
newTopicFAB.setEnabled(false); |
|
|
newTopicFAB.setEnabled(false); |
|
|
if (!sessionManager.isLoggedIn()) newTopicFAB.hide(); |
|
|
newTopicFAB.hide(); |
|
|
|
|
|
/*if (!sessionManager.isLoggedIn()) newTopicFAB.hide(); |
|
|
else { |
|
|
else { |
|
|
newTopicFAB.setOnClickListener(new View.OnClickListener() { |
|
|
newTopicFAB.setOnClickListener(new View.OnClickListener() { |
|
|
@Override |
|
|
@Override |
|
@ -125,7 +126,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
}*/ |
|
|
|
|
|
|
|
|
boardAdapter = new BoardAdapter(getApplicationContext(), parsedSubBoards, parsedTopics); |
|
|
boardAdapter = new BoardAdapter(getApplicationContext(), parsedSubBoards, parsedTopics); |
|
|
RecyclerView mainContent = (RecyclerView) findViewById(R.id.board_recycler_view); |
|
|
RecyclerView mainContent = (RecyclerView) findViewById(R.id.board_recycler_view); |
|
|