@Override public void addLayoutCompleteEventListener(LayoutCompleteEventListener l){
  if (layoutCompleteListeners == null) {
    layoutCompleteListeners=new ArrayList<LayoutCompleteEventListener>();
  }
  layoutCompleteListeners.add(l);
}

@ Override public void addLayoutCompleteEventListener ( LayoutCompleteEventListener l ) { if ( layoutCompleteListeners == null ) { layoutCompleteListeners = new ArrayList < LayoutCompleteEventListener > ( ) ; } layoutCompleteListeners . add ( l ) ; }
method to add a layoutcompleteeventlistener
