помогите не отображается ListView

Андрей Можайкин

activity_name.xml
```
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.classzhyrnal.MainActivity">

<ListView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/listView" />

</RelativeLayout>

MainActivity.java

public class MainActivity extends AppCompatActivity {
private ArrayList<Week> weeks;
private WeekAdapter weekAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    createList();
    fillList();
}
void fillList(){
    ListView listView = (ListView) findViewById(R.id.listView);
    weekAdapter = new WeekAdapter(weeks, this);
    listView.deferNotifyDataSetChanged();
    listView.setAdapter(weekAdapter);
}
void createList(){
    weeks = new ArrayList<Week>();
    for (int i = 0; i < 6; i++) {
        Week w = new Week();
        switch (i){
            case 0:
                w.setDay("Понедельник");
                break;
            case 1:
                w.setDay("Вторник");
                break;
            case 2:
                w.setDay("Среда");
                break;
            case 3:
                w.setDay("Четверг");
                break;
            case 4:
                w.setDay("Пятница");
                break;
            case 5:
                w.setDay("Суббота");
                break;
        }
        weeks.add(w);
    }
}

}

WeekAdapter.java

public class WeekAdapter extends BaseAdapter {
private ArrayList<Week> weeks;
private Context c;

public WeekAdapter(ArrayList<Week> weeks, Context c) {
    this.weeks = weeks;
    this.c = c;
}

@Override
public int getCount() {
    return 0;
}

@Override
public Object getItem(int position) {
    return null;
}

@Override
public long getItemId(int position) {
    return 0;
}

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    View week = convertView;
    if(week==null){
        week = LayoutInflater.from(c).inflate(R.layout.list, null);
    }
    Week w = weeks.get(position);

}
}

list.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_height="match_parent">

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/today"
    android:fontFamily="sans-serif"
    android:textSize="24sp"
    android:textAllCaps="false"
    android:paddingLeft="10dp"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:textStyle="normal|bold" />

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/dz1"
    android:layout_alignBaseline="@+id/oneLesson"
    android:layout_alignBottom="@+id/oneLesson"
    android:layout_toRightOf="@+id/oneLesson"
    android:layout_toEndOf="@+id/oneLesson"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp" />

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/dz2"
    android:layout_below="@+id/dz1"
    android:layout_toRightOf="@+id/oneLesson"
    android:layout_toEndOf="@+id/oneLesson"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@+id/dz2"
    android:layout_alignLeft="@+id/dz2"
    android:layout_alignStart="@+id/dz2"
    android:id="@+id/dz3"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@+id/dz3"
    android:layout_alignLeft="@+id/dz3"
    android:layout_alignStart="@+id/dz3"
    android:id="@+id/dz4"
    android:textSize="18sp"
    android:layout_above="@+id/fiveLesson"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/fiveLesson"
    android:paddingLeft="10dp"
    android:layout_below="@+id/fourLesson"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:paddingBottom="10dp"
    />

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/sixLesson"
    android:paddingLeft="10dp"
    android:layout_below="@+id/fiveLesson"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/sevenLesson"
    android:paddingLeft="10dp"
    android:layout_below="@+id/sixLesson"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/dz5"
    android:layout_below="@+id/dz4"
    android:layout_alignLeft="@+id/dz4"
    android:layout_alignStart="@+id/dz4"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/dz6"
    android:layout_below="@+id/dz5"
    android:layout_alignLeft="@+id/dz5"
    android:layout_alignStart="@+id/dz5"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/dz7"
    android:layout_below="@+id/dz6"
    android:layout_alignLeft="@+id/dz6"
    android:layout_alignStart="@+id/dz6"
    android:textSize="18sp"
    android:paddingLeft="30dp"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/twoLesson"
    android:textSize="18sp"
    android:paddingLeft="10dp"
    android:textStyle="normal|bold|italic"
    android:layout_below="@+id/oneLesson"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/treeLesson"
    android:paddingLeft="10dp"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:layout_alignBaseline="@+id/dz3"
    android:layout_alignBottom="@+id/dz3"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/fourLesson"
    android:paddingLeft="10dp"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:layout_below="@+id/dz3"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:paddingBottom="10dp"/>

<TextView
    android:text="TextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/oneLesson"
    android:paddingLeft="10dp"
    android:textSize="18sp"
    android:textStyle="normal|bold|italic"
    android:textAllCaps="false"
    android:paddingBottom="10dp"
    android:layout_marginTop="10dp"
    android:layout_below="@+id/today"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true" />

</RelativeLayout>
```

1 чел.