Class UiBaseBean

  • All Implemented Interfaces:

    
    public class UiBaseBean
    
                        

    使用 diffUtils 进行列表局部刷新,在使用同一份内存无法比较变更时,可以继承此 bean 对象 在重新设置属性时,调用 change() 方法,在 diffUtils 比较时判断 isChange 属性

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public boolean isChange
    • Constructor Summary

      Constructors 
      Constructor Description
      UiBaseBean()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isChange()
      void setChange(boolean change)
      void change()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UiBaseBean

        UiBaseBean()