heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
146 stars 191 forks source link

Map is blank if open another transparent activity immediately #422

Closed lucifer222 closed 3 years ago

lucifer222 commented 3 years ago

Describe the bug I create a here map in a Fragment. The map is blank if I open another transparent activity immediately.

Steps To Reproduce Steps to reproduce the behavior:

  1. Go to 'Here Map Activity'
  2. Then open another transparent activity above map activity
  3. the map is blank.
  4. No error in the logcat. and 'onEngineInitializationCompleted' return error is NONE.
lucifer222 commented 3 years ago

any update?

lucifer222 commented 3 years ago

sovle this

lucifer222 commented 3 years ago

solve this problem after add blow code:

@Override
public void onPauseEqually() throws SDMBaseException {
    super.onPauseEqually();
    mMapFragment.onResume();
}

any questions if I add this?