feature_board_view #28

Merged
norangebit merged 19 commits from feature_board_view into develop 2020-01-16 18:33:24 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 162a53e1d8 - Show all commits

View File

@ -148,14 +148,16 @@ public class BoardViewActivity extends AppCompatActivity {
ArrayAdapter<String> adapter = new ArrayAdapter<>(getApplicationContext(),
android.R.layout.simple_list_item_1, labelsTitle);
listView.setAdapter(adapter);
getListsButton.setEnabled(true);
}
}
@Override
public void onFailure(@NotNull Call<Board> call, @NotNull Throwable t) {
Toast.makeText(getApplicationContext(),
getApplicationContext().getString(R.string.board_deleted),
"connection error",
Toast.LENGTH_LONG).show();
getListsButton.setEnabled(false);
}
});
}