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
import android.content.Context; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.GestureDetector; | |
import android.view.MotionEvent; | |
import android.view.View; | |
public class RecyclerItemClickListener implements RecyclerView.OnItemTouchListener { | |
GestureDetector mGestureDetector; | |
private OnItemClickListener mListener; |
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
(define (overlay filename filename2) | |
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename | |
filename))) | |
(drawable (car (gimp-image-get-active-layer image)))) | |
(gimp-brightness-contrast drawable 0 -127) | |
(gimp-brightness-contrast drawable 0 127) | |
(plug-in-colorify RUN-NONINTERACTIVE image drawable "#3498db") | |
(gimp-image-convert-indexed image 0 0 255 0 0 "") |
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
import QtQuick 2.0 | |
// Use Item as root element to control what properties are exposed, without this the delegate could be overwritten and the list would not work as expected | |
Item { | |
id: root | |
// Expose ListView properties | |
property alias model: listView.model | |
property alias clip: listView.clip |