daimajia / AndroidSwipeLayout

The Most Powerful Swipe Layout!
MIT License
12.38k stars 2.67k forks source link

The usage of generateView in Demo #174

Open steven1227 opened 9 years ago

steven1227 commented 9 years ago

Hi, in the Example, the document said that " //ATTENTION: Never bind listener or fill values in generateView. // You have to do that in fillValues method." However, in the demo, it did the bind of listener of SwipeLayout in the generateView. Is this not a good use of generateView?

By the way, a question about the library. I use android Studio, and what is the best convenient way to use your library? I use this methodbut it does not work for this Swipelayout. Now I just download your .jar and put it in the app/libs director, without any additional code in gradle, but it works......may be any more clear way?