Remove testing cases

master
dtvv 2018-09-03 15:59:32 -06:00
parent b7223e4997
commit c7cb37347d
4 changed files with 11 additions and 9 deletions

View File

@ -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() {

View File

@ -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();

View File

@ -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) {

View File

@ -177,7 +177,7 @@ class BitsharesAccountNameValidation : CustomValidationField, UIValidator {
* */
creatingAccountMaterialDialog.dismiss()
if (!request.accountExists) {
if (request.accountExists) {
/*
* The account exists and is not valid