Skip to content

Commit

Permalink
hzuapps#2 hzuapps#63 第二次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadore147258369 committed Oct 6, 2020
1 parent acdcb54 commit 47908e6
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions students/sec1814080911128/Sec1814080911128Activity.java
Original file line number Diff line number Diff line change
@@ -1,46 +0,0 @@
package edu.hzuapps.androidlabs.sec1814080911128;

import android.os.Bundle;
import android.widget.LinearLayout;
import android.support.v7.app.AppCompatActivity;

public class Sec1814080911128Activity extends AppCompatActivity {

private LinearLayout loading;
private ListView lvNews;
private List<NewsInfos>

@Override
protected void onCreate(Budle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
initView();
fillData();
}
//初始化控件
private void initView() {
loading = (L)
}

private void fillData() { }
//ListView适配器
private class NewsAdapter extends BaseAdapter {
//listview的item数
@Override
public int getCount() {
return newsInfos.size();
}

//条目对象
@Override
public Object getItem(int position) {
return null;
}

//条目id
@Override
public long getItemId(int position) {
return 0;
}
}
}

0 comments on commit 47908e6

Please sign in to comment.