错误(3)
1、Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
未findView
listView = findViewById(R.id.listview);
listView.setAdapter(myAdapter);
2、String resource ID #0x1
setText中传了其他类型,只能传String
String most = String.valueOf(clock.getMost_day());
viewHolder.t_username.setText( clock.getUsername());
viewHolder.t_mostDay.setText(most);