react-native-navigation的迁移库

FabParams.java 603B

12345678910111213141516171819202122232425
  1. package com.reactnativenavigation.params;
  2. import android.graphics.drawable.Drawable;
  3. import java.util.List;
  4. public class FabParams {
  5. public Drawable collapsedIcon;
  6. public Drawable expendedIcon;
  7. public StyleParams.Color backgroundColor;
  8. public String collapsedId;
  9. public String expendedId;
  10. public String navigatorEventId;
  11. public List<FabActionParams> actions;
  12. public String screenInstanceId;
  13. public boolean hasExpendedState() {
  14. return actions != null && actions.size() > 0;
  15. }
  16. public boolean isValid() {
  17. return collapsedId != null;
  18. }
  19. }