Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ArraySwipeAdapter.java #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update ArraySwipeAdapter.java #243

wants to merge 1 commit into from

Conversation

ralexey
Copy link

@ralexey ralexey commented Nov 13, 2015

Add generic type to extends ArrayAdapter.
Example:
public static class MyAdapter extend ArraySwipeAdapter{
...
}
private MyAdapter adapter = new MyAdapter(...);
...
old version:
String str = (String)adapter.getItem(0);
New version:
String str = adapter.getItem(0);

Add generic type to extends ArrayAdapter
@madebykrol
Copy link

This needs to go in. The current implementation of this is breaking my code in pieces and it looks ugly when I need to cast getItem()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants