/*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2021 Damyan Ivanov.
* This file is part of MoLe.
* MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
package net.ktnx.mobileledger.async;
public interface DescriptionSelectedCallback {
- void descriptionSelected(String description);
+ void onDescriptionSelected(String description);
}
.create()
.show();
}
- public void descriptionSelected(String description) {
+ public void onDescriptionSelected(String description) {
debug("description selected", description);
if (!model.accountListIsEmpty())
return;
b.newTransactionDescription.setAdapter(
new TransactionDescriptionAutocompleteAdapter(activity));
b.newTransactionDescription.setOnItemClickListener(
- (parent, view, position, id) -> activity.descriptionSelected(
+ (parent, view, position, id) -> activity.onDescriptionSelected(
parent.getItemAtPosition(position)
.toString()));