Remove testing cases
This commit is contained in:
parent
b7223e4997
commit
c7cb37347d
4 changed files with 11 additions and 9 deletions
|
@ -118,7 +118,7 @@ public class BoardActivity extends CustomActivity {
|
|||
/*
|
||||
* Listener tabLayout to resalt text when clicked
|
||||
* */
|
||||
/*final TabLayout tabLayoutFinal = tabLayout;
|
||||
final TabLayout tabLayoutFinal = tabLayout;
|
||||
tabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
|
||||
@Override
|
||||
public void onTabSelected(final TabLayout.Tab tab) {
|
||||
|
@ -162,7 +162,7 @@ public class BoardActivity extends CustomActivity {
|
|||
|
||||
|
||||
}
|
||||
});*/
|
||||
});
|
||||
|
||||
// Appbar animation
|
||||
mSurfaceView.getHolder().addCallback(new SurfaceHolder.Callback() {
|
||||
|
|
|
@ -11,6 +11,8 @@ import android.widget.EditText;
|
|||
import android.widget.Spinner;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.jaredrummler.materialspinner.MaterialSpinner;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -35,8 +37,8 @@ public class SendTransactionActivity extends AppCompatActivity implements UIVali
|
|||
|
||||
SendTransactionValidator sendTransactionValidator;
|
||||
|
||||
/*@BindView(R.id.etFrom)
|
||||
EditText etFrom;*/
|
||||
@BindView(R.id.spFrom)
|
||||
MaterialSpinner spFrom;
|
||||
@BindView(R.id.tvFromError)
|
||||
TextView tvFromError;
|
||||
@BindView(R.id.etTo)
|
||||
|
@ -102,7 +104,7 @@ public class SendTransactionActivity extends AppCompatActivity implements UIVali
|
|||
}
|
||||
});
|
||||
|
||||
//sendTransactionValidator = new SendTransactionValidator(this.getApplicationContext(), this.cryptoNetAccount, etFrom, etTo, spAsset, etAmount, etMemo);
|
||||
sendTransactionValidator = new SendTransactionValidator(this.getApplicationContext(), this.cryptoNetAccount, spFrom, etTo, spAsset, etAmount, etMemo);
|
||||
sendTransactionValidator.setListener(this);
|
||||
} else {
|
||||
this.finish();
|
||||
|
|
|
@ -153,8 +153,8 @@ public class SendTransactionFragment extends DialogFragment implements UIValidat
|
|||
* this is only for graphene accounts.
|
||||
*
|
||||
**/
|
||||
this.grapheneAccount = new GrapheneAccount(this.cryptoNetAccount);
|
||||
this.grapheneAccount.loadInfo(db.grapheneAccountInfoDao().getByAccountId(this.cryptoNetAccountId));
|
||||
//this.grapheneAccount = new GrapheneAccount(this.cryptoNetAccount);
|
||||
//this.grapheneAccount.loadInfo(db.grapheneAccountInfoDao().getByAccountId(this.cryptoNetAccountId));
|
||||
|
||||
final LiveData<List<CryptoCoinBalance>> balancesList = db.cryptoCoinBalanceDao().getBalancesFromAccount(cryptoNetAccountId);
|
||||
balancesList.observe(this, new Observer<List<CryptoCoinBalance>>() {
|
||||
|
@ -185,7 +185,7 @@ public class SendTransactionFragment extends DialogFragment implements UIValidat
|
|||
* Custom material spinner implementation
|
||||
* */
|
||||
spFrom.setItems(cryptoNetAccounts);
|
||||
spFrom.setSelectedIndex(0);
|
||||
//spFrom.setSelectedIndex(0);
|
||||
spFrom.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener<CryptoNetAccount>() {
|
||||
@Override
|
||||
public void onItemSelected(MaterialSpinner view, int position, long id, CryptoNetAccount item) {
|
||||
|
|
|
@ -177,7 +177,7 @@ class BitsharesAccountNameValidation : CustomValidationField, UIValidator {
|
|||
* */
|
||||
creatingAccountMaterialDialog.dismiss()
|
||||
|
||||
if (!request.accountExists) {
|
||||
if (request.accountExists) {
|
||||
|
||||
/*
|
||||
* The account exists and is not valid
|
||||
|
|
Loading…
Reference in a new issue