src/main/java/de/blau/android/propertyeditor/RelationMembersFragment.java
/**
     * Start the ActionMode for when an element is selected
     * 
     * @param rowLayout the Layout holding the element rows
     */
Start the ActionMode for when an element is selected

@param rowLayout the Layout holding the element rows
Start the ActionMode for when an element is selected @param rowLayout the Layout holding the element rows
private void memberSelected(@NonNull LinearLayout rowLayout) {
        synchronized (actionModeCallbackLock) {
            if (memberSelectedActionModeCallback == null) {
                memberSelectedActionModeCallback = new RelationMemberSelectedActionModeCallback(this, adapter, membersInternal, rowLayout);
                ((AppCompatActivity) getActivity()).startSupportActionMode(memberSelectedActionModeCallback);
            }
            memberSelectedActionModeCallback.invalidate();
        }
    }
private void memberSelected ( @ NonNull LinearLayout rowLayout ) { synchronized ( actionModeCallbackLock ) { if ( memberSelectedActionModeCallback == null ) { memberSelectedActionModeCallback = new RelationMemberSelectedActionModeCallback ( this , adapter , membersInternal , rowLayout ) ; ( ( AppCompatActivity ) getActivity ( ) ) . startSupportActionMode ( memberSelectedActionModeCallback ) ; } memberSelectedActionModeCallback . invalidate ( ) ; } }
Start the ActionMode for when an element is selected
Start the ActionMode for when an element is selected