After importing via the repo I get:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/birin/easylistviewadapters/R$string;
The build script does not appear to successfully generate the R.java file.
After importing manually as a package I was able to get further information on this.
File com.birin.easylistviewadapters.utils.ChildViewsClickHandler contains:
import com.birin.easylistviewadapters.R;
Which means importing via Gradle will cause an error (at least when the child on click handler functionality is used). It appears to require this import for
private static int TAG_VIEW_POSITION = R.string.key_view_position;
private static int TAG_CLICK_EVENT_ID = R.string.key_click_event_id;
When setting these to 0 I get:
The key must be an application-specific resource id.
Caused by the setTag line in the last method:
private static void tagIntValueToView(View view, int key, int value) {
if (null != view) {
view.setTag(key, value);
}
}
http://stackoverflow.com/questions/2859574/the-key-must-be-an-application-specific-resource-id seems to suggest no work around, an easy fix is to add as a package and change the import line and add https://github.com/birajpatel/EasyListViewAdapters/blob/master/EasyListViewAdapters/easylistviewadapters/src/main/res/values/dummy_ids.xml .
I feel it should be importable via Gradle somehow, perhaps the user could supply these values in a higher class? I think the best solution would be for the build script could be built to successfully include R.java. (https://github.com/rey5137/material is an example library that achieves this) After digging around I feel this is easier for someone who is more familiar with the build script to fix so I just thought I'd notify you guys in the hopes you keep up the great work! :)