class CollectionView extends FrameLayout {

  @SuppressWarnings("unchecked")
  void setItems(List<?> items) {
    if (adapter != null) {
      adapter.onBindItems(items);
    }
  }

  public  CollectionView(
      @NonNull Context context,
      @Nullable AttributeSet attrs);

}