0
I have a command that will need to perform several executions, but I have to put 1,2,3... have to use the same name ?
btnadd1.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View view) {
//new Activity_addinf.onbuttonclickHttpPost().execute();
HttpConnection postCatLivro = new HttpConnection(Activity_addinf.this,
catliv.toString(),
"http://192.168.1.207/api/v2/bookdemo/_table/cad_categorias?fields=id_cat&filter=%20tx_cat%3D%22Direito%22",
0);
HttpConnection postCatLivro2 = new HttpConnection(Activity_addinf.this,
catliv.toString(),
"http://192.168.1.207/api/v2/bookdemo/_table/cad_categorias?fields=id_cat&filter=tx_cat%3DRomance",
2);
postCatLivro.execute();
postCatLivro2.execute();
That’s what I needed, I just couldn’t explain, thank you !!
– Samara Carvalho