Java – butterknife @ injectview problem updated to 7
                                        
                    •
                    Java                                    
                I'm using @ injectview to get many of my views They stopped working after I updated to the latest version 7? What happened?
Solution
You encounter this situation because butterknife version 7 has a new set of naming conventions You need to update your code to use the latest comments
Change @ injectview to @ bind
And from butterknife Change java code in inject(); To butterknife Bind (this) I suppose you do this in an activity If you do this in a fragment or use a more complex usage scheme, you should check the butterknife document here
                            The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
                        
                                            
                        THE END
                    
                    
                    
                                                        二维码
                        
                        
                                                
                        