Advertisement
PomozMi

Untitled

Sep 1st, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.74 KB | None | 0 0
  1.         dojazd_od.setText("");
  2.                 dojazd_do.setText("");
  3.                 raport.setDojazd_od(null);
  4.                 raport.setDojazd_do(null);
  5.                 raport.dojazd = false;
  6.                 clearRow("dd");
  7.                 return true;
  8.             }
  9.         });
  10.         praca.setOnLongClickListener(new Button.OnLongClickListener() {
  11.             public boolean onLongClick(View v) {
  12.                 praca_od.setText("");
  13.                 praca_do.setText("");
  14.                 raport.setPraca_od(null);
  15.                 raport.setPraca_do(null);
  16.                 raport.praca = false;
  17.                 clearRow("pr");
  18.                 return true;
  19.             }
  20.         });
  21.         powrot.setOnLongClickListener(new Button.OnLongClickListener() {
  22.             public boolean onLongClick(View v) {
  23.                 powrot_od.setText("");
  24.                 powrot_do.setText("");
  25.                 raport.setPowrot_od(null);
  26.                 raport.setPowrot_do(null);
  27.                 raport.powrot = false;
  28.                 clearRow("dz");
  29.                 return true;
  30.             }
  31.         });
  32.         przerwa.setOnLongClickListener(new Button.OnLongClickListener() {
  33.             public boolean onLongClick(View v) {
  34.                 lunch_od.setText("");
  35.                 lunch_do.setText("");
  36.                 raport.setLunch_od(null);
  37.                 raport.setLunch_do(null);
  38.                 raport.przerwa = false;
  39.                 clearRow("pz");
  40.                 return true;
  41.             }
  42.         });
  43.         koszt.setOnLongClickListener(new Button.OnLongClickListener() {
  44.             public boolean onLongClick(View v) {
  45.                 raport.koszty = false;
  46.                 return true;
  47.             }
  48.         });
  49.  
  50.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement