[library] Fix NoSuchMethodError on AbsListView

AbsListView.setAdapter is only available for SDK_INT >= HONEYCOMB.
On lower version cast it to ListView or GridView.
Merge pull request #3 from luciofm/set-adapter-fix

[library] Fix NoSuchMethodError on AbsListView