Back to project page GameTimer.
The source code is released under:
Apache License
If you think the Android project GameTimer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.solidnw.gametimer.adapter; // w w w .j a v a 2 s. co m import java.util.ArrayList; import android.content.Context; import android.view.View; import android.widget.RelativeLayout; import android.widget.TextView; import com.solidnw.gametimer.R; public class RemoveMemberListAdapter extends AbstractRemoveItemAdapter { public RemoveMemberListAdapter(Context context, ArrayList<String> objects, int theme) { super(context, objects, theme); } public void onClick(View view) { RelativeLayout rl = (RelativeLayout) view.getParent(); TextView tv = (TextView) rl.findViewById(R.id.removeitem_textview_content); String member = tv.getText().toString(); ArrayList<String> content = new ArrayList<String>(mContent); content.remove(member); updateContent(content); } }