changed loader stuff
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package com.a1.nextlocation.recyclerview;
|
||||
|
||||
public interface Loader {
|
||||
void load();
|
||||
public interface Loader<T> {
|
||||
T load();
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
package com.a1.nextlocation.recyclerview;
|
||||
|
||||
public class LocationLoader implements Loader{
|
||||
@Override
|
||||
public void load() {
|
||||
import com.a1.nextlocation.data.Location;
|
||||
|
||||
public class LocationLoader implements Loader<Location>{
|
||||
|
||||
@Override
|
||||
public Location load() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user