src/main/java/de/blau/android/osm/StorageDelegator.java
/**
     * Remove backlinks in elements
     * 
     * @param relation to remove from members
     */
Remove backlinks in elements

@param relation to remove from members
Remove backlinks in elements @param relation to remove from members
private void removeRelationFromMembers(@NonNull final Relation relation) {
        for (RelationMember rm : relation.getMembers()) {
            OsmElement e = rm.getElement();
            if (e != null) { 
                undo.save(e);
                e.removeParentRelation(relation);
                onParentRelationChanged(e);
            }
        }
    }
private void removeRelationFromMembers ( @ NonNull final Relation relation ) { for ( RelationMember rm : relation . getMembers ( ) ) { OsmElement e = rm . getElement ( ) ; if ( e != null ) { undo . save ( e ) ; e . removeParentRelation ( relation ) ; onParentRelationChanged ( e ) ; } } }
Remove backlinks in elements
Remove backlinks in elements
// if null the element wasn't downloaded