You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for this awesome library.
But honestly very complex to implement for beginners like me....
Any ways,
I have an ArrayList private ArrayList<Videos> videos=new ArrayList<Videos>();
Videos.java
public class Videos implements ListItem {
private String username;
public String getUsername() { return this.username; }
public void setUsername(String username) { this.username = username; }
ListItem functions... setACtive and others
now when I am trying to implement
private final ListItemsVisibilityCalculator mVideoVisibilityCalculator =
new SingleListViewItemActiveCalculator(new DefaultSingleItemCalculatorCallback(), videos);
here videos is already an ArrayList=List
It gives
Error:(85, 95) error: incompatible types: ArrayList cannot be converted to List<? extends ListItem>
Any help highly appreciated. Thanks
The text was updated successfully, but these errors were encountered:
First of all thanks for this awesome library.
But honestly very complex to implement for beginners like me....
Any ways,
I have an ArrayList
private ArrayList<Videos> videos=new ArrayList<Videos>();
Videos.java
now when I am trying to implement
here videos is already an ArrayList=List
It gives
Error:(85, 95) error: incompatible types: ArrayList cannot be converted to List<? extends ListItem>
Any help highly appreciated. Thanks
The text was updated successfully, but these errors were encountered: