|
@ -107,7 +107,7 @@ public class ShoutboxFragment extends Fragment { |
|
|
shoutAdapter.notifyDataSetChanged(); |
|
|
shoutAdapter.notifyDataSetChanged(); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
shoutboxViewModel.setOnShoutboxTaskStarted(this::onShoutboxTaskSarted); |
|
|
shoutboxViewModel.setOnShoutboxTaskStarted(this::onShoutboxTaskStarted); |
|
|
shoutboxViewModel.setOnShoutboxTaskFinished(this::onShoutboxTaskFinished); |
|
|
shoutboxViewModel.setOnShoutboxTaskFinished(this::onShoutboxTaskFinished); |
|
|
shoutboxViewModel.setOnSendShoutTaskStarted(this::onSendShoutTaskStarted); |
|
|
shoutboxViewModel.setOnSendShoutTaskStarted(this::onSendShoutTaskStarted); |
|
|
shoutboxViewModel.setOnSendShoutTaskFinished(this::onSendShoutTaskFinished); |
|
|
shoutboxViewModel.setOnSendShoutTaskFinished(this::onSendShoutTaskFinished); |
|
@ -115,9 +115,10 @@ public class ShoutboxFragment extends Fragment { |
|
|
shoutboxViewModel.loadShoutbox(false); |
|
|
shoutboxViewModel.loadShoutbox(false); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void onShoutboxTaskSarted() { |
|
|
private void onShoutboxTaskStarted() { |
|
|
Timber.i("Starting shoutbox task..."); |
|
|
Timber.i("Starting shoutbox task..."); |
|
|
progressBar.setVisibility(View.VISIBLE); |
|
|
progressBar.setVisibility(View.VISIBLE); |
|
|
|
|
|
editorView.setVisibility(View.GONE); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void onSendShoutTaskStarted() { |
|
|
private void onSendShoutTaskStarted() { |
|
|