ButterKnife findByID method is deprecated in version 8.8.0

前端 未结 1 1382
野趣味
野趣味 2021-01-08 00:45

Hi I have just updated ButterKnife library version 8.7.0 to 8.8.0

compile \'com.jakewharton:butterknife:8.8.0\'
annotationProcessor \'com.jakewharton:butter         


        
相关标签:
1条回答
  • 2021-01-08 01:05

    Per the change log:

    Deprecate the findById methods. Compile against API 26 and use the normal findViewById for the same functionality.

    Android'sfindViewById has been updated to have the same functionality in API 26 which recently became stable, thus allowing Butter Knife's version to be deprecated and removed in the forthcoming v9.0.

    0 讨论(0)
提交回复
热议问题