ButterKnife findByID search method deprecated in version 8.8.0

Hi, I just updated ButterKnife library version 8.7.0 to 8.8.0

compile 'com.jakewharton:butterknife:8.8.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.0'

and found that:

findById(view, id);

out of date why? which method to use instead? but when canceling versions prior to 8.7.0 (or earlier), the outdated warning disappears.

compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
    applicationId "com.some.app"
    minSdkVersion 21
    targetSdkVersion 25
...
+6
source share
1 answer

To change log :

Outdated methods findById. Compile with API 26 and use normal findViewByIdfor the same functionality.

Android findViewById , API 26, , Butter Knife v9.0.

+20

All Articles