1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-13 17:06:53 +00:00
NewPipe/app/src/main/java/org/schabi/newpipe/fragments/ViewContract.java
Stypox c43bca6007
Add report/solve-recaptcha button in error panel
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.

Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00

14 lines
212 B
Java

package org.schabi.newpipe.fragments;
public interface ViewContract<I> {
void showLoading();
void hideLoading();
void showEmptyState();
void handleResult(I result);
void handleError();
}