To give the example of a chat. The messages are placed in a RecyclerView, and each element of the RecyclerView is a Layout that is composed of a cardView where the name, time and message goes.
Now, a user is going to choose an option where th...
Good by the StackOverflow community, today I have the sig. problem, I try to call an Activity that is inside an AAR file, but when it calls it, it appears in the middle of the screen and the other half is the Activity of the project where it is...
I send the following Request
{
"name":"juan",
"lastname":"caviedes",
"email":"[email protected]",
"password":"12345678q",
"areaid":"13",
"profileid":"2"
}
I have the class to map the object.
public class SingUpRe...
I am programming a mini form, the question is that I have 2 user and institute beans, the user logs in and enters an index where he has to fill out a form, in index I want to show both the user's name and the institute that it logs both in an o...
I have the following part of the code:
public class ControlaEstat implements VetoableChangeListener{
private String [] valors = {"A punt","Avariat","Ocupat"}; // estats permesos
/**
* Llenca una excepcio si el canvi demanat vol...
I'm doing an app in android studio, and I need to change the name of an image before saving it. I detail more, first I upload an image from the memory of my mobile, the change by default and then save it, but save it with the name that had that...
It happens that we were given the task of creating a Main that can print the following figure with the use of "for":
@
@@@
@@@@@ en el caso n=3.
@@@
@
@
@@@
@@@@@
@@@@@@@ en el caso de n=4.
@@@@@
@@@
@
and so on successiv...
I have the code that orders from minor to minor but I need it from most to least, I do not know how to do it.
public static int[] ordQuicksortAsc(int[] datos, int izq, int der) {
int pivote=datos[izq];
int i=izq;
int j=der;
int...
I have a table called ESTRUCTURA that has the fields
ID_ESTRUCTURA, NOMBRE_TRABAJADOR, ACTIVO
And a table called TRABAJADOR_RANGO that has the fields
ID_TRABAJADOR_RANGO, ID_ESTRUCTURA, ID_SERVICIO, TIPO_RANGO
What I want...
My program can dynamically create JButtons, Text is added to it and the value they will return to me when I click:
String name = nameField.getText();
String identification = idField.getText();
Person person = new Person(name, identific...