mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-06-13 17:06:53 +00:00
c43bca6007
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
14 lines
212 B
Java
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();
|
|
}
|