release 0.1 #30

Manually merged
noemi3 merged 150 commits from release/0.1 into master 2020-01-18 14:59:02 +00:00
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(), ArrayAdapter<String> adapter = new ArrayAdapter<>(getApplicationContext(),
android.R.layout.simple_list_item_1, labelsTitle); android.R.layout.simple_list_item_1, labelsTitle);
listView.setAdapter(adapter); listView.setAdapter(adapter);
getListsButton.setEnabled(true);
} }
} }
@Override @Override
public void onFailure(@NotNull Call<Board> call, @NotNull Throwable t) { public void onFailure(@NotNull Call<Board> call, @NotNull Throwable t) {
Toast.makeText(getApplicationContext(), Toast.makeText(getApplicationContext(),
getApplicationContext().getString(R.string.board_deleted), "connection error",
Toast.LENGTH_LONG).show(); Toast.LENGTH_LONG).show();
getListsButton.setEnabled(false);
} }
}); });
} }