@@ -0,0 +1,14 @@
|
||||
package org.joinmastodon.android.model;
|
||||
|
||||
public class CacheablePaginatedResponse<T> extends PaginatedResponse<T>{
|
||||
private final boolean fromCache;
|
||||
|
||||
public CacheablePaginatedResponse(T items, String maxID, boolean fromCache){
|
||||
super(items, maxID);
|
||||
this.fromCache=fromCache;
|
||||
}
|
||||
|
||||
public boolean isFromCache(){
|
||||
return fromCache;
|
||||
}
|
||||
}
|
||||
@@ -54,6 +54,7 @@ public class Status extends BaseModel implements DisplayItemsParent{
|
||||
public boolean pinned;
|
||||
|
||||
public transient boolean spoilerRevealed;
|
||||
public transient boolean hasGapAfter;
|
||||
|
||||
@Override
|
||||
public void postprocess() throws ObjectValidationException{
|
||||
|
||||
Reference in New Issue
Block a user