mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-07-07 12:24:24 +00:00
11 lines
246 B
Java
11 lines
246 B
Java
package org.schabi.newpipe.fragments;
|
|
|
|
public interface ViewContract<I> {
|
|
void showLoading();
|
|
void hideLoading();
|
|
void showEmptyState();
|
|
void showError(String message, boolean showRetryButton);
|
|
|
|
void handleResult(I result);
|
|
}
|