mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 03:54:18 -04:00
#2203 Fullscreen Video does not display - use activity_main_root
This commit is contained in:
parent
db575a971b
commit
de39fa5f5e
@ -204,7 +204,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
CoordinatorLayout snackbarRoot;
|
CoordinatorLayout snackbarRoot;
|
||||||
@BindView(R2.id.fullscreen_video_container)
|
@BindView(R2.id.fullscreen_video_container)
|
||||||
ViewGroup videoView;
|
ViewGroup videoView;
|
||||||
|
@BindView(R2.id.activity_main_root)
|
||||||
View root;
|
View root;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@ -333,7 +333,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
@Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater,
|
@Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater,
|
||||||
@Nullable ViewGroup container,
|
@Nullable ViewGroup container,
|
||||||
@Nullable Bundle savedInstanceState) {
|
@Nullable Bundle savedInstanceState) {
|
||||||
root = inflater.inflate(R.layout.fragment_main, container, false);
|
View root = inflater.inflate(R.layout.fragment_main, container, false);
|
||||||
ButterKnife.bind(this, root);
|
ButterKnife.bind(this, root);
|
||||||
AppCompatActivity activity = (AppCompatActivity) getActivity();
|
AppCompatActivity activity = (AppCompatActivity) getActivity();
|
||||||
presenter.attachView(this);
|
presenter.attachView(this);
|
||||||
@ -1657,7 +1657,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void webViewUrlFinishedLoading() {
|
public void webViewUrlFinishedLoading() {
|
||||||
if(isAdded()) {
|
if (isAdded()) {
|
||||||
updateTableOfContents();
|
updateTableOfContents();
|
||||||
tabsAdapter.notifyDataSetChanged();
|
tabsAdapter.notifyDataSetChanged();
|
||||||
updateUrlProcessor();
|
updateUrlProcessor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user