0
点赞
收藏
分享

微信扫一扫

第一行代码勘误

Java旺 2022-12-18 阅读 131


www.ituring.com.cn/book/1473

www.ituring.com.cn/book/1841

已确认勘误16_12_09(Ver.2)


页码

勘误内容

提交人

修订印次

22

1.3.5节

倒数第2行,R.string.hello_world 改为 R.string.app_name

倒数第1行,@string/hello_world 改为 @string/app_name

​​选择纠结​​

3

56

图2.23中,onResurme() 改为 onResume()

​​张霞@Turing​​

3

57

倒数第2行,android:theme="@android:style/Theme.Dialog">  

改为

android:theme="@style/Theme.AppCompat.Dialog">  

​​张霞@Turing​​

3

58

第3行,@android:style/Theme.Dialog

改为

@style/Theme.AppCompat.Dialog  

​​张霞@Turing​​

3

58

倒数第16行代码 Super.oncreate(savedInstanceState); 与倒数第15行代码 setContentView(R.layout.activity_main);之间,新增一行代码:

Log.d(TAG,"onCreate');

​​张霞@Turing​​

3

139

倒数第2行和倒数第4行,ListView 改为 RecyclerView

​​张霞@Turing​​

3

182

第17行

android:name=".AnotherBroadcastReceiver"

改为

android:name=".MyBroadcastReceiver"

​​张霞@Turing​​

3

421

第8行和第19行,username 改为 mail

第16行,mail 改为 username

​​张霞@Turing​​

3

533

第7行,public class SwipeRefreshLayout swipeRefresh下方新增一行代码:

private String mWeatherId;

第18行,final String weatherId;删除。

if else语句中的 weatherId 改为 mWeatherId。

​​张霞@Turing​​

3

534

第13行,editor.apply()下方新增一行代码

mWeatherId = weather.basic.weatherId; 

​​张霞@Turing​​

3



举报

相关推荐

0 条评论