abstract SwipAdapter, make it more easy for developer