You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
939 B
41 lines
939 B
package org.purplei2p.lightning.browser; |
|
|
|
import android.content.DialogInterface; |
|
import android.support.annotation.NonNull; |
|
import android.support.annotation.Nullable; |
|
import android.support.annotation.StringRes; |
|
import android.view.View; |
|
|
|
public interface BrowserView { |
|
|
|
void setTabView(@NonNull View view); |
|
|
|
void removeTabView(); |
|
|
|
void updateUrl(@Nullable String url, boolean isLoading); |
|
|
|
void updateProgress(int progress); |
|
|
|
void updateTabNumber(int number); |
|
|
|
void closeBrowser(); |
|
|
|
void closeActivity(); |
|
|
|
void showBlockedLocalFileDialog(@NonNull DialogInterface.OnClickListener listener); |
|
|
|
void showSnackbar(@StringRes int resource); |
|
|
|
void setForwardButtonEnabled(boolean enabled); |
|
|
|
void setBackButtonEnabled(boolean enabled); |
|
|
|
void notifyTabViewRemoved(int position); |
|
|
|
void notifyTabViewAdded(); |
|
|
|
void notifyTabViewChanged(int position); |
|
|
|
void notifyTabViewInitialized(); |
|
|
|
}
|
|
|