@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); setContentView(R.layout.detalles_if36); inten = new Intent(this, BBVAfechaj3Activity.class); TextView encabezado = (TextView) findViewById(R.id.resti36); TextView g = (TextView) findViewById(R.id.dgi36); TextView ta = (TextView) findViewById(R.id.dai36); TextView tr = (TextView) findViewById(R.id.dri36); TextView l = (TextView) findViewById(R.id.dlsi36); LinkedList<BBVAfechaj7Activity> list = Bundfechaj9Activity.getInstancia().getListDTODti(getApplicationContext()); if (list.size() != 0) { String result = list.get(35).getDetalle(); String[] r = result.split("/"); if (r.length != 0 && !list.get(35).getDetalle().equalsIgnoreCase(" ")) { encabezado.setText(r[0]); g.setText(r[1]); ta.setText(r[2]); tr.setText(r[3]); l.setText(r[4]); } else if (r.length == 0) { encabezado.setText(" "); g.setText(" "); ta.setText(" "); tr.setText(" "); l.setText(" "); } } else if (list.size() == 0) { Log.d("Error", "No se ha cargado la Base de Dtos"); } }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); setContentView(R.layout.premier_fecha6); inten = new Intent(this, Premierfechaj10Activity.class); TextView v1 = (TextView) findViewById(R.id.ef6p1); TextView v2 = (TextView) findViewById(R.id.ef6p2); TextView v3 = (TextView) findViewById(R.id.ef6p3); TextView v4 = (TextView) findViewById(R.id.ef6p4); TextView v5 = (TextView) findViewById(R.id.ef6p5); TextView v6 = (TextView) findViewById(R.id.ef6p6); TextView v7 = (TextView) findViewById(R.id.ef6p7); TextView v8 = (TextView) findViewById(R.id.ef6p8); TextView v9 = (TextView) findViewById(R.id.ef6p9); TextView v10 = (TextView) findViewById(R.id.ef6p10); LinkedList<Premierfechaj4Activity> list = Bundfechaj9Activity.getInstancia().getListDTOEng(getApplicationContext()); if (list.size() != 0) { v1.setText(list.get(50).getGoles1()); v2.setText(list.get(51).getGoles1()); v3.setText(list.get(52).getGoles1()); v4.setText(list.get(53).getGoles1()); v5.setText(list.get(54).getGoles1()); v6.setText(list.get(55).getGoles1()); v7.setText(list.get(56).getGoles1()); v8.setText(list.get(57).getGoles1()); v9.setText(list.get(58).getGoles1()); v10.setText(list.get(59).getGoles1()); } else if (list.size() == 0) { Log.d("Error", "No se ha cargado la Base de Dtos"); } }
@Override public void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.noticiasint7); inten = new Intent(this, BBVAfechaj25Activity.class); final LinkedList<Premierfechaj6Activity> list = Bundfechaj9Activity.getInstancia().getListDTONotInt(getApplicationContext()); EditText ed = (EditText) findViewById(R.id.rowint7); ed.setText(list.get(6).getMgs()); }
@Override public void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.noticiasa6); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); inten = new Intent(this, BBVAfechaj23Activity.class); final LinkedList<Calciofechaj10Activity> list = Bundfechaj9Activity.getInstancia().getListDTOMga(getApplicationContext()); EditText ed = (EditText) findViewById(R.id.rowa6); ed.setText(list.get(5).getMgs()); }