I'm not 100% sure, as I've yet to do this myself, but I would try making your ListView item, (the layout you use as what is in each list item) a drawer, and go from there, I would assume you'd like to populate them depending on if you need them or not, so I would using something along the lines of final Button btnLogin = new Button(this); btnLogin. SetText("Login"); btnLogin. SetLayoutParams(new LayoutParams(LayoutParams.
FILL_PARENT, LayoutParams. WRAP_CONTENT)); btnLogin. SetGravity(Gravity.
CENTER); btnLogin. SetOnClickListener(new View.OnClickListener() { public void onClick(View view) { new GetDataFromServlet(). Execute(NetworkActivity.
This); Log. I(getClass().getSimpleName(), "button was pressed"); } }) But as a checkbox, not a button.
I'm not 100% sure, as I've yet to do this myself, but I would try making your ListView item, (the layout you use as what is in each list item) a drawer, and go from there, I would assume you'd like to populate them depending on if you need them or not, so I would using something along the lines of final Button btnLogin = new Button(this); btnLogin. SetText("Login"); btnLogin. SetLayoutParams(new LayoutParams(LayoutParams.
FILL_PARENT, LayoutParams. WRAP_CONTENT)); btnLogin. SetGravity(Gravity.
CENTER); btnLogin. SetOnClickListener(new View.OnClickListener() { public void onClick(View view) { new GetDataFromServlet(). Execute(NetworkActivity.
This); Log. I(getClass().getSimpleName(), "button was pressed"); } }); But as a checkbox, not a button.
Here's an example program that implements checkboxes in ExpandableListView: mylifewithandroid.blogspot. Com: Expandable lists and check boxes.
It's because of using recycling View for use in ExpandableListView. As you can see there is a field "View convertView" which contains View that will be recycled with SAME ID as View that already exists on a screen. So when you look for v.
CheckBox1) there can be more than one "v" element with given ID - that makes Android select more than one CheckBox. The only way to override it (that I know for now) is to remove "covertView" from super. GetChildView(...) and replace it with "null".
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.