Skip to content

Commit 28f56f7

Browse files
committed
update
1 parent 4b85655 commit 28f56f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

AppProgrammingSource/1.6/YoungHeart/app/src/main/java/com/youngheart/activity/others/LoginNewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void onClick(View v) {
6060

6161
@Override
6262
protected void loadData() {
63-
//获取2个MobileAPI,获取天气数据,获取城市数据
63+
// 获取2个MobileAPI,获取天气数据,获取城市数据
6464
loadWeatherData();
6565
loadCityData();
6666
}

AppProgrammingSource/1.6/YoungHeart/app/src/main/java/com/youngheart/adapter/CinemaAdapter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public View getView(final int position, View convertView,
5454
return convertView;
5555
}
5656

57+
// 内置Holder嵌套类 用于存放 ListView 中每一行中的控件。
58+
// ViewHolder的存在,可以避免频繁创建同一个列表项,从而极大地节省内存,
5759
class Holder {
5860
TextView tvCinemaName;
5961
TextView tvCinemaId;

0 commit comments

Comments
 (0)