• 大小: 1.54MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2023-08-14
  • 语言: Java
  • 标签: butterknife  demo  

资源简介

最新的butterknife jar包,版本7.0.1及使用demo。如有不懂可以留言

资源截图

代码片段和文件信息

// Generated code from Butter Knife. Do not modify!
package com.example.helloworld;

import android.content.res.Resources;
import android.view.View;
import butterknife.ButterKnife.Finder;
import butterknife.ButterKnife.ViewBinder;

public class MainActivity$$ViewBinder implements ViewBinder {
  @Override public void bind(final Finder finder final T target object source) {
    View view;
    view = finder.findRequiredView(source 2131296261 “field ‘tv_text6‘“);
    target.tv_text6 = finder.castView(view 2131296261 “field ‘tv_text6‘“);
    view = finder.findRequiredView(source 2131296260 “field ‘tv_text5‘“);
    target.tv_text5 = finder.castView(view 2131296260 “field ‘tv_text5‘“);
    view = finder.findRequiredView(source 2131296262 “field ‘tv_text7‘“);
    target.tv_text7 = finder.castView(view 2131296262 “field ‘tv_text7‘“);
    view = finder.findRequiredView(source 2131296259 “field ‘tv_text4‘ and method ‘sayHi4‘“);
    target.tv_text4 = finder.castView(view 2131296259 “field ‘tv_text4‘“);
    view.setonclickListener(
      new butterknife.internal.DebouncingonclickListener() {
        @Override public void doClick(
          android.view.View p0
        ) {
          target.sayHi4(finder.castParam(p0 “doClick“ 0 “sayHi4“ 0));
        }
      });
    view = finder.findRequiredView(source 2131296257 “field ‘tv_text2‘ and method ‘sayHi2‘“);
    target.tv_text2 = finder.castView(view 2131296257 “field ‘tv_text2‘“);
    view.setonclickListener(
      new butterknife.internal.DebouncingonclickListener() {
        @Override public void doClick(
          android.view.View p0
        ) {
          target.sayHi2(finder.castParam(p0 “doClick“ 0 “sayHi2“ 0));
        }
      });
    view = finder.findRequiredView(source 2131296258 “field ‘tv_text3‘ and method ‘sayHi3‘“);
    target.tv_text3 = finder.castView(view 2131296258 “field ‘tv_text3‘“);
    view.setonclickListener(
      new butterknife.internal.DebouncingonclickListener() {
        @Override public void doClick(
          android.view.View p0
        ) {
          target.sayHi3(finder.castParam(p0 “doClick“ 0 “sayHi3“ 0));
        }
      });
    view = finder.findRequiredView(source 2131296263 “field ‘tv_text8‘“);
    target.tv_text8 = finder.castView(view 2131296263 “field ‘tv_text8‘“);
    view = finder.findRequiredView(source 2131296256 “field ‘tv_text1‘ and method ‘sayHi‘“);
    target.tv_text1 = finder.castView(view 2131296256 “field ‘tv_text1‘“);
    view.setonclickListener(
      new butterknife.internal.DebouncingonclickListener() {
        @Override public void doClick(
          android.view.View p0
        ) {
          target.sayHi(finder.castParam(p0 “doClick“ 0 “sayHi“ 0));
        }
      });
    Resources res = finder.getContext(source).getResources();
    target.red = res.getColor(2

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3437  2015-09-29 17:15  HelloWorld\.apt_generated\com\example\helloworld\MainActivity$$ViewBinder.java

     文件        642  2015-09-29 16:38  HelloWorld\.classpath

     文件        150  2015-09-29 16:52  HelloWorld\.factorypath

     文件        846  2015-09-23 09:31  HelloWorld\.project

     文件        157  2015-09-29 16:40  HelloWorld\.settings\org.eclipse.jdt.apt.core.prefs

     文件        728  2015-09-29 16:40  HelloWorld\.settings\org.eclipse.jdt.core.prefs

     文件        864  2015-09-23 09:31  HelloWorld\AndroidManifest.xml

     文件        864  2015-09-29 16:52  HelloWorld\bin\AndroidManifest.xml

     文件        353  2015-09-29 16:53  HelloWorld\bin\classes\com\example\helloworld\BuildConfig.class

     文件       1419  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity$$ViewBinder$1.class

     文件       1419  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity$$ViewBinder$2.class

     文件       1419  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity$$ViewBinder$3.class

     文件       1418  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity$$ViewBinder$4.class

     文件       4105  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity$$ViewBinder.class

     文件       2403  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\MainActivity.class

     文件        352  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$attr.class

     文件        909  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$color.class

     文件        506  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$dimen.class

     文件        419  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$drawable.class

     文件        661  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$id.class

     文件        415  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$layout.class

     文件        400  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$menu.class

     文件        484  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$string.class

     文件        443  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R$style.class

     文件        765  2015-09-29 17:15  HelloWorld\bin\classes\com\example\helloworld\R.class

     文件     785864  2015-09-29 17:15  HelloWorld\bin\classes.dex

     文件     232551  2015-09-29 17:06  HelloWorld\bin\dexedLibs\android-support-v4-96599c720240f9a454fe6a2f1fc81a5f.jar

     文件      27125  2015-09-29 17:06  HelloWorld\bin\dexedLibs\butterknife-7.0.1-85c3907e0ca5113a134317b4c5e0a5c6.jar

     文件     304010  2015-09-29 17:15  HelloWorld\bin\HelloWorld.apk

     文件        120  2015-09-29 16:53  HelloWorld\bin\jarlist.cache

............此处省略72个文件信息

评论

共有 条评论