react-native-navigation的迁移库

DevBundleDownloadListenerAdapter.java 689B

1234567891011121314151617181920212223242526272829
  1. package com.reactnativenavigation.react;
  2. import com.facebook.react.bridge.NativeDeltaClient;
  3. import com.facebook.react.devsupport.interfaces.DevBundleDownloadListener;
  4. import javax.annotation.Nullable;
  5. public class DevBundleDownloadListenerAdapter implements DevBundleDownloadListener, NavigationDevBundleDownloadListener {
  6. @Override
  7. public void onSuccess(@Nullable NativeDeltaClient nativeDeltaClient) {
  8. onSuccess();
  9. }
  10. @Override
  11. public void onSuccess() {
  12. }
  13. @Override
  14. public void onProgress(@Nullable String status, @Nullable Integer done, @Nullable Integer total) {
  15. }
  16. @Override
  17. public void onFailure(Exception cause) {
  18. }
  19. }