added SwipeListener and ArrayAdapterWrapper