Store screenshot generator as UI test
This commit is contained in:
@@ -186,6 +186,9 @@ public class MastodonAPIController{
|
||||
req.onError("Error parsing an API error", response.code());
|
||||
}
|
||||
}
|
||||
}catch(Exception x){
|
||||
Log.w(TAG, "onResponse: error processing response", x);
|
||||
onFailure(call, (IOException) new IOException(x).fillInStackTrace());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package org.joinmastodon.android.api.requests.statuses;
|
||||
|
||||
import org.joinmastodon.android.api.MastodonAPIRequest;
|
||||
import org.joinmastodon.android.model.Status;
|
||||
|
||||
public class GetStatusByID extends MastodonAPIRequest<Status>{
|
||||
public GetStatusByID(String id){
|
||||
super(HttpMethod.GET, "/statuses/"+id, Status.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user