Set activity indicator for refresh button.
This commit is contained in:
parent
262fdf92c8
commit
864100299d
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
switch (view.getId()) {
|
switch (view.getId()) {
|
||||||
case R.id.combo_refresh_button:
|
case R.id.combo_refresh_button:
|
||||||
|
// TODO why is activity in ComboPump?
|
||||||
|
ComboPlugin.getPlugin().getPump().activity = MainApp.gs(R.string.combo_pump_action_refreshing);
|
||||||
ConfigBuilderPlugin.getCommandQueue().readStatus("User request", null);
|
ConfigBuilderPlugin.getCommandQueue().readStatus("User request", null);
|
||||||
break;
|
break;
|
||||||
case R.id.combo_alerts_button:
|
case R.id.combo_alerts_button:
|
||||||
|
|
Loading…
Reference in a new issue