Posts by Alberto Hugo • 21 points
3 posts
-
0
votes2
answers50
viewsA: Random on button with isEmpty();
You can try to replace: textoDigitado.isEmpty() for textoDigitado.equalsIgnoreCase("")
-
1
votes1
answer91
viewsA: Help with onitemclick listview
I believe an asyncTask solves: if (opcoes[position] == 1){ new AsyncTask().execute(); } ... private class AsyncTask extends AsyncTask<Void, Void, Void> { @Override protected void…
-
1
votes3
answers1170
viewsA: Exchange Fragments Android
To make the transition between Mainactivity Fragments with Navdrawer, I use it like this: public void displayView(int viewId) { Fragment fragment = null; switch (viewId) { case R.id.fragment_1:…