       callback items
 
 
-  loadView: ->
+  removeAllItems: ->
+
+    @filterStates.skip = 0
 
     super
 
-    @loadItems()
+
+  setView: (view) ->
+
+    super view
+
+    view.once 'viewAppended', @bound 'loadItems'
 
 
   showNoItemWidget: ->


  calculateAndFetchMoreIfNeeded: ->

    viewHeight = @getView().getHeight()
    listHeight = @getListView().getHeight()

    if listHeight <= viewHeight
      @lazyLoader.show()


    return  if @_inprogress
    @_inprogress = yes
    @showLazyLoader no

    @fetch @filterStates.query, (items) =>

      @replaceAllItems items
      @_inprogress = no

      if items?.length
        debug 'initial items loaded', items.length
        if items.length is @getOption 'limit'
          kd.utils.wait 1000, @bound 'calculateAndFetchMoreIfNeeded'
        @selectNextItem()
      else
        @showNoItemWidget()


  fetch: (query, callback, fetchOptions = {}) ->
