I have a list that increases constantly every so often, I want to show a Toast when my list increases or decreases.
I was trying but I can not.
This is my code:
frutasList = new ArrayList<Datos>();
List<String> lables...
Good morning, I would like to ask you for some advice:
I have not maintained my PC for more than two years and I would like to format it to clean it, what should I take into account to avoid having problems when re-generating my applications in...
The question can surely sound very noob. But hey, it turns out that I want to execute a simple where with dates. I tried everything (until I changed the column from type DATE to type TEXT) and I still have no results.
Cursor curs = admin.sele...
this is my code:
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);...
Good morning, I'm already doing this tutorial a few days ago to learn how to make drawing apps.
link
link
I have the following code that I am studying and trying to decipher its operation, and I have several doubts about it.
1) w...
I have a small application with a BottomNavigationView , I have added three buttons, with the first button shows a fragment _home, in this fragment there is a viewpager which aims to show a slide of images , a timer...
I have a LinearLayout parent that contains the property; android:gravity="center"
with that all the controls within it will be centered, now I need some controls to be left for example. Any ideas?
XML
<TextView...
I have a JSON list but it returns the following:
{"product":"[[\"5a10de2d8bb9d715c320acd8\",
[\"5a08d4495d0e296cab3b5637\"]]"}
It is not a correct JSON.
I have a String list where I store the values and then pass it as a parameter to th...
I try to assign an image of the drawable folder to an ImageView with the setImageResource method, but I do not know what the method takes to access R.drawable.image_name
ImageView image;
image.setImageResource("?");