Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/06/2015, 13:01
draganus
 
Fecha de Ingreso: junio-2015
Mensajes: 38
Antigüedad: 8 años, 10 meses
Puntos: 0
Respuesta: Seleccionar un item de un listview y pasar a otro listview

Encontre la solucion :)

Código PHP:
Ver original
  1. public void onItemClick(AdapterView<?> parent, View view, int position,
  2.             long id) {
  3.        
  4.         String cod = String.valueOf(Categoria.listaCategoria.get(position).getCodigo());       
  5.         // set the message to display              
  6.         Bundle parametros = new Bundle();                      
  7.         parametros.putString("codigo_categoria", cod);             
  8.         Intent pantallaSelEmp = new Intent(this, SeleccionarEmpresa.class);
  9.         pantallaSelEmp.putExtras(parametros);
  10.         this.startActivity(pantallaSelEmp);
  11.         Navegacion.categoria = this;
  12.        
  13.     }