RUN apt-get update && apt-get install -y --no-install-recommends \
ssh \
patch \
vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AndroidImageAdapter extends PagerAdapter { | |
Context mContext; | |
AndroidImageAdapter(Context context) { | |
this.mContext = context; | |
} | |
@Override | |
public int getCount() { | |
return sliderImagesId.length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dropView.setOnDragListener((view, event) -> { | |
int action = event.getAction(); | |
switch (event.getAction()) { | |
case DragEvent.ACTION_DRAG_STARTED: | |
// nothing | |
break; | |
case DragEvent.ACTION_DRAG_ENTERED: | |
// on entered view | |
break; | |
case DragEvent.ACTION_DRAG_EXITED: |