Created
February 18, 2017 03:36
-
-
Save dimasvm/ec22b02624415b6b77689d931771a154 to your computer and use it in GitHub Desktop.
View Object QRCode Scanner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity implements View.OnClickListener { | |
// View Object | |
private Button buttonScan; | |
private TextView textViewNama, textViewTinggi; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
// initialize object | |
buttonScan = (Button) findViewById(R.id.buttonScan); | |
textViewNama = (TextView) findViewById(R.id.textViewNama); | |
textViewTinggi = (TextView) findViewById(R.id.textViewTinggi); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment