• 大小: 11.99MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-17
  • 语言: 其他
  • 标签: Android  

资源简介

在自定义Adapter中 - 重写getItemViewType()方法用来判断当前Item对象的类别 - 重写getViewTypeCount()返回item一共有几个类别 - 在geView方法中通过判断类别来填充不同的item布局并给控件设置值

资源截图

代码片段和文件信息

/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * gradle plugin from the resource data it found. It
 * should not be modified by hand.
 */
package androidx.appcompat;

public final class R {
    private R() {}

    public static final class anim {
        private anim() {}

        public static final int abc_fade_in = 0x7f010000;
        public static final int abc_fade_out = 0x7f010001;
        public static final int abc_grow_fade_in_from_bottom = 0x7f010002;
        public static final int abc_popup_enter = 0x7f010003;
        public static final int abc_popup_exit = 0x7f010004;
        public static final int abc_shrink_fade_out_from_bottom = 0x7f010005;
        public static final int abc_slide_in_bottom = 0x7f010006;
        public static final int abc_slide_in_top = 0x7f010007;
        public static final int abc_slide_out_bottom = 0x7f010008;
        public static final int abc_slide_out_top = 0x7f010009;
        public static final int abc_tooltip_enter = 0x7f01000a;
        public static final int abc_tooltip_exit = 0x7f01000b;
    }
    public static final class attr {
        private attr() {}

        public static final int actionBarDivider = 0x7f020000;
        public static final int actionBarItemBackground = 0x7f020001;
        public static final int actionBarPopupTheme = 0x7f020002;
        public static final int actionBarSize = 0x7f020003;
        public static final int actionBarSplitstyle = 0x7f020004;
        public static final int actionBarstyle = 0x7f020005;
        public static final int actionBarTabBarstyle = 0x7f020006;
        public static final int actionBarTabstyle = 0x7f020007;
        public static final int actionBarTabTextstyle = 0x7f020008;
        public static final int actionBarTheme = 0x7f020009;
        public static final int actionBarWidgetTheme = 0x7f02000a;
        public static final int actionButtonstyle = 0x7f02000b;
        public static final int actiondropDownstyle = 0x7f02000c;
        public static final int actionLayout = 0x7f02000d;
        public static final int actionMenuTextAppearance = 0x7f02000e;
        public static final int actionMenuTextColor = 0x7f02000f;
        public static final int actionModeBackground = 0x7f020010;
        public static final int actionModeCloseButtonstyle = 0x7f020011;
        public static final int actionModeCloseDrawable = 0x7f020012;
        public static final int actionModeCopyDrawable = 0x7f020013;
        public static final int actionModeCutDrawable = 0x7f020014;
        public static final int actionModeFindDrawable = 0x7f020015;
        public static final int actionModePasteDrawable = 0x7f020016;
        public static final int actionModePopupWindowstyle = 0x7f020017;
        public static final int actionModeSelectAllDrawable = 0x7f020018;
        public static final int actionModeShareDrawable = 0x7f020019;
        public static final int 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         216  2019-08-22 12:41  .gitignore
     目录           0  2019-08-22 12:41  .gradle\
     目录           0  2019-08-22 13:28  .gradle\5.1.1\
     目录           0  2019-08-22 12:42  .gradle\5.1.1\executionHistory\
     文件     1576611  2019-08-22 14:06  .gradle\5.1.1\executionHistory\executionHistory.bin
     文件          17  2019-08-22 14:06  .gradle\5.1.1\executionHistory\executionHistory.lock
     目录           0  2019-08-22 12:42  .gradle\5.1.1\fileChanges\
     文件           1  2019-08-22 14:06  .gradle\5.1.1\fileChanges\last-build.bin
     目录           0  2019-08-22 13:27  .gradle\5.1.1\fileContent\
     文件          17  2019-08-22 13:39  .gradle\5.1.1\fileContent\fileContent.lock
     目录           0  2019-08-22 13:28  .gradle\5.1.1\fileHashes\
     文件      156383  2019-08-22 14:06  .gradle\5.1.1\fileHashes\fileHashes.bin
     文件          17  2019-08-22 14:06  .gradle\5.1.1\fileHashes\fileHashes.lock
     文件       18531  2019-08-22 13:28  .gradle\5.1.1\fileHashes\resourceHashesCache.bin
     文件           0  2019-08-22 12:42  .gradle\5.1.1\gc.properties
     目录           0  2019-08-22 13:30  .gradle\5.1.1\javaCompile\
     文件       65564  2019-08-22 13:39  .gradle\5.1.1\javaCompile\classAnalysis.bin
     文件          17  2019-08-22 13:39  .gradle\5.1.1\javaCompile\javaCompile.lock
     文件       22785  2019-08-22 13:39  .gradle\5.1.1\javaCompile\taskHistory.bin
     目录           0  2019-08-22 12:41  .gradle\5.1.1\vcsmetadata-1\
     目录           0  2019-08-22 12:42  .gradle\buildOutputCleanup\
     文件          17  2019-08-22 14:06  .gradle\buildOutputCleanup\buildOutputCleanup.lock
     文件          53  2019-08-22 12:41  .gradle\buildOutputCleanup\cache.properties
     文件       21269  2019-08-22 14:06  .gradle\buildOutputCleanup\outputFiles.bin
     目录           0  2019-08-22 12:42  .gradle\vcs-1\
     文件           0  2019-08-22 12:42  .gradle\vcs-1\gc.properties
     目录           0  2019-08-22 14:06  .idea\
     目录           0  2019-08-22 12:42  .idea\caches\
     文件         537  2019-08-22 12:42  .idea\caches\build_file_checksums.ser
     文件      122671  2019-08-22 14:06  .idea\caches\gradle_models.ser
     目录           0  2019-08-22 14:06  .idea\codestyles\
............此处省略2449个文件信息

评论

共有 条评论