daimajia / daimajia/AndroidSwipeLayout

The usage of generateView in Demo

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.3k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Hi, in the [Example](https://github.com/daimajia/AndroidSwipeLayout/wiki/SwipeAdapter#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](https://github.com/daimajia/AndroidSwipeLayout/blob/master/demo/src/main/java/com/daimajia/swipedemo/adapter/ListViewAdapter.java), 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 [method](http://stackoverflow.com/questions/16588064/how-do-i-add-a-library-project-to-the-android-studio)but 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.