Class GroupCreateViewModel

  • All Implemented Interfaces:

    
    public class GroupCreateViewModel
    
                        

    ViewModel for creating a group.

    Since:

    5.12.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String groupId
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getGroupId() Get the group ID.
      void )>createGroup(String groupName, OnDataChangeListener<Integer> listener) Create a group.
      void )>createGroup(String groupName, OnDataChangeEnhancedListener<Integer> listener) Create a group with examination.
      • Methods inherited from class java.lang.Object

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

      • GroupCreateViewModel

        GroupCreateViewModel(Bundle arguments)
    • Method Detail

      • getGroupId

         String getGroupId()

        Get the group ID.

        Returns:

        group ID

      • createGroup

        @Deprecated() void )>createGroup(String groupName, OnDataChangeListener<Integer> listener)

        Create a group.

        Parameters:
        groupName - group name
        listener - data change listener
      • createGroup

         void )>createGroup(String groupName, OnDataChangeEnhancedListener<Integer> listener)

        Create a group with examination.

        Parameters:
        groupName - group name
        listener - data change listener