How can we add the data to java objects dynamically by taking the input from user? without using database is that possible? if possible how ? show with small example thanks in advance
Button button=(Button)findViewById(R.id.myButton);
EditText myText=(EditText)findViewById(R.id.myEditText);
button.setOnClickListener(new OnClickListener(){public void onClick(View v){
myArrayList.add(myText.getText().toString());
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.