0
I am using Ormlite in my application and want to implement a generic type in the following:
public interface AdminDao extends Dao<T, Integer> {
...
}
where "T" would be the generic.
Error:
Cannot resolves Symbol T
0
I am using Ormlite in my application and want to implement a generic type in the following:
public interface AdminDao extends Dao<T, Integer> {
...
}
where "T" would be the generic.
Error:
Cannot resolves Symbol T
2
You in the interface statement also have to indicate T
public interface AdminDao<T> extends Dao<T, Integer> {
...
}
Browser other questions tagged java android generic
You are not signed in. Login or sign up in order to post.
Leaving a bit of the question friend, that IDE are using?
– Israel Sousa
@Wakim the Dao interface is a lib. I was able to fix this problem but now I’m with another when I use the Overrides... http://ormlite.com/sqlite_java_android_orm.shtml Here you have all the files.
– Luiz Negrini