2017-09-03 08:04:18 +02:00
|
|
|
package org.schabi.newpipe.fragments;
|
|
|
|
|
|
|
|
public interface ViewContract<I> {
|
|
|
|
void showLoading();
|
2020-03-31 19:20:15 +02:00
|
|
|
|
2017-09-03 08:04:18 +02:00
|
|
|
void hideLoading();
|
2020-03-31 19:20:15 +02:00
|
|
|
|
2017-09-03 08:04:18 +02:00
|
|
|
void showEmptyState();
|
2020-03-31 19:20:15 +02:00
|
|
|
|
2017-09-03 08:04:18 +02:00
|
|
|
void handleResult(I result);
|
2020-12-11 14:55:47 +01:00
|
|
|
|
|
|
|
void handleError();
|
2017-09-03 08:04:18 +02:00
|
|
|
}
|