资源简介
用 TabLayout 实现底部、顶部导航栏,你绝对需要掌握的
代码片段和文件信息
package android.databinding;
import com.example.qiudengjiao.tablayout.test.BR;
class DataBinderMapper {
final static int TARGET_MIN_SDK = 15;
public DataBinderMapper() {
}
public android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent android.view.View view int layoutId) {
switch(layoutId) {
case com.example.qiudengjiao.tablayout.R.layout.activity_main:
return com.example.qiudengjiao.tablayout.databinding.ActivityMainBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.activity_top_layout:
return com.example.qiudengjiao.tablayout.databinding.ActivityTopLayoutBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment_home:
return com.example.qiudengjiao.tablayout.databinding.FragmentHomeBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment_cart:
return com.example.qiudengjiao.tablayout.databinding.FragmentCartBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment1:
return com.example.qiudengjiao.tablayout.databinding.Fragment1Binding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment3:
return com.example.qiudengjiao.tablayout.databinding.Fragment3Binding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.frgment_mine:
return com.example.qiudengjiao.tablayout.databinding.FrgmentMineBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment_hot:
return com.example.qiudengjiao.tablayout.databinding.FragmentHotBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment_category:
return com.example.qiudengjiao.tablayout.databinding.FragmentCategoryBinding.bind(view bindingComponent);
case com.example.qiudengjiao.tablayout.R.layout.fragment2:
return com.example.qiudengjiao.tablayout.databinding.Fragment2Binding.bind(view bindingComponent);
}
return null;
}
android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent android.view.View[] views int layoutId) {
switch(layoutId) {
}
return null;
}
int getLayoutId(String tag) {
if (tag == null) {
return 0;
}
final int code = tag.hashCode();
switch(code) {
case 423753077: {
if(tag.equals(“layout/activity_main_0“)) {
return com.example.qiudengjiao.tablayout.R.layout.activity_main;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-08 23:15 TabLayout\
文件 6148 2017-05-08 23:15 TabLayout\.DS_Store
目录 0 2017-05-08 23:16 __MACOSX\
目录 0 2017-05-08 23:16 __MACOSX\TabLayout\
文件 120 2017-05-08 23:15 __MACOSX\TabLayout\._.DS_Store
文件 118 2017-05-06 13:33 TabLayout\.gitignore
目录 0 2017-05-06 13:33 TabLayout\.gradle\
目录 0 2017-05-06 13:33 TabLayout\.gradle\2.14.1\
目录 0 2017-05-06 13:33 TabLayout\.gradle\2.14.1\taskArtifacts\
文件 30 2017-05-06 13:33 TabLayout\.gradle\2.14.1\taskArtifacts\cache.properties
文件 17 2017-05-08 22:04 TabLayout\.gradle\2.14.1\taskArtifacts\cache.properties.lock
文件 264433 2017-05-08 22:04 TabLayout\.gradle\2.14.1\taskArtifacts\fileHashes.bin
文件 8505978 2017-05-08 22:04 TabLayout\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
文件 57024 2017-05-08 22:04 TabLayout\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
文件 185295 2017-05-08 22:04 TabLayout\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
目录 0 2017-05-08 22:55 TabLayout\.idea\
文件 686 2017-05-06 13:33 TabLayout\.idea\compiler.xm
目录 0 2017-05-06 13:33 TabLayout\.idea\copyright\
文件 74 2017-05-06 13:33 TabLayout\.idea\copyright\profiles_settings.xm
文件 626 2017-05-06 13:33 TabLayout\.idea\gradle.xm
目录 0 2017-05-08 19:42 TabLayout\.idea\libraries\
文件 578 2017-05-08 19:42 TabLayout\.idea\libraries\adapters_1_2_1.xm
文件 651 2017-05-08 19:42 TabLayout\.idea\libraries\animated_vector_drawable_25_1_0.xm
文件 441 2017-05-08 19:42 TabLayout\.idea\libraries\annotations_24_5_0.xm
文件 262 2017-05-08 19:42 TabLayout\.idea\libraries\antlr4_4_5_3.xm
文件 764 2017-05-08 19:42 TabLayout\.idea\libraries\appcompat_v7_25_1_0.xm
文件 291 2017-05-08 19:42 TabLayout\.idea\libraries\ba
文件 284 2017-05-08 19:42 TabLayout\.idea\libraries\commons_codec_1_10.xm
文件 407 2017-05-08 19:42 TabLayout\.idea\libraries\commons_io_2_4.xm
文件 282 2017-05-08 19:42 TabLayout\.idea\libraries\compiler_2_2_3.xm
文件 300 2017-05-08 19:42 TabLayout\.idea\libraries\compilerCommon_2_2_3.xm
............此处省略3704个文件信息
- 上一篇:NJ运动控制篇
- 下一篇:orCAD PSpice 学生版
评论
共有 条评论