Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.TRYING_AGAIN.me;
- import java.util.List;
- import android.view.View;
- import android.view.ViewGroup;
- import android.widget.BaseAdapter;
- import android.widget.TextView;
- public class MyAdapter extends BaseAdapter {
- private List<Contact> mAllContacts;
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return mAllContacts.size();
- }
- @Override
- public Object getItem(int arg0) {
- // TODO Auto-generated method stub
- return null;
- }
- @Override
- public Contact getItemId(int position) {
- // TODO Auto-generated method stub
- return mAllContacts.get(position);
- }
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- return null;
- }
- MyAdapter(List<Contact> TheContacts) {
- mAllContacts = TheContacts;
- //TextView Temp = (TextView) findViewById(R.layout.mylistviewlayout.TextView01);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement