Adding different types of items a list view
问题 Is there a good tutorial or link that shows how to add different items to a listview? For example, one with two Text lines and a Check box , another that you just press and and something would pop up. All I have now is every list item is the same two line text view and checkbox... Or , if there is a way to add 1 row at a time with a different layout through R.layout.xxx ? public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { mRoot = inflater