欢迎来到【面向源码】【qq号码提取 源码】【android图片识别源码】butterknife 8.1源码-皮皮网网站!!!

皮皮网

【面向源码】【qq号码提取 源码】【android图片识别源码】butterknife 8.1源码-皮皮网 扫描左侧二维码访问本站手机端

【面向源码】【qq号码提取 源码】【android图片识别源码】butterknife 8.1源码

2025-01-06 07:44:32 来源:{typename type="name"/} 分类:{typename type="name"/}

1.为什么ButterKnife.bind之后View依然为null

butterknife 8.1源码

为什么ButterKnife.bind之后View依然为null

       apply plugin: 'com.android.application'

       android {

       compileSdkVersion

       buildToolsVersion ".0.0"

       defaultConfig {

       applicationId "com.administrator.demo"

       minSdkVersion

       targetSdkVersion

       versionCode 1

       versionName "1.0"

       }

       buildTypes {

       release {

       minifyEnabled false

       proguardFiles getDefaultProguardFile('proguard-android.txt'),面向源码 'proguard-rules.pro'

       }

       }

       }

       dependencies {

       compile fileTree(include: ['*.jar'], dir: 'libs')

       testCompile 'junit:junit:4.'

       compile files('libs/jsoup-1.9.2.jar')

       compile files('libs/Volley.jar')

       compile 'com.android.support:appcompat-v7:.4.0'

       compile 'com.jakewharton:butterknife:8.1.0'

       compile 'com.android.support:design:.4.0'

       compile 'com.cjj.materialrefeshlayout:library:1.3.0'

       compile 'com.android.support:support-v4:.4.0'

       debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'

       releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'

       testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'

       }

       è¿™æ˜¯æˆ‘çš„ build.gradle 里的内容