react-native-navigation的迁移库

ScreenChangedEvent.java 488B

12345678910111213141516171819
  1. package com.reactnativenavigation.events;
  2. import com.reactnativenavigation.params.BaseScreenParams;
  3. import com.reactnativenavigation.params.FabParams;
  4. public class ScreenChangedEvent implements Event {
  5. public static final String TYPE = "ScreenChangedEvent";
  6. public FabParams fabParams;
  7. public ScreenChangedEvent(BaseScreenParams screenParams) {
  8. this.fabParams = screenParams.getFab();
  9. }
  10. @Override
  11. public String getType() {
  12. return TYPE;
  13. }
  14. }