Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

currentAndroidFlavor #8

Open
MohamedAlaa25 opened this issue Sep 12, 2018 · 1 comment
Open

currentAndroidFlavor #8

MohamedAlaa25 opened this issue Sep 12, 2018 · 1 comment

Comments

@MohamedAlaa25
Copy link

how i can add this currentAndroidFlavor ?!

// Get the {@link AndroidFlavor} object located at this position in the list
AndroidFlavor currentAndroidFlavor = getItem(position);

@thomasmburke
Copy link

Ensure that your class declaration specifies the item type to get. For example:

public class WordAdapter extends ArrayAdapter {
...
}

for example if you changed your line to get an object of type Word your line would look like:
Word currentWord = getItem(position);

and your class definition would look like this:
public class WordAdapter extends ArrayAdapter {
...
}

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

No branches or pull requests

2 participants