Demo entry 6685238

java

   

Submitted by anonymous on Dec 19, 2017 at 07:24
Language: Java. Code size: 975 Bytes.

254    /**
255     * Interface definition for a callback to be invoked when an item in this
256     * AdapterView has been clicked.
257     */
258    public interface OnItemClickListener {
259
260        /**
261         * Callback method to be invoked when an item in this AdapterView has
262         * been clicked.
263         * <p>
264         * Implementers can call getItemAtPosition(position) if they need
265         * to access the data associated with the selected item.
266         *
267         * @param parent The AdapterView where the click happened.
268         * @param view The view within the AdapterView that was clicked (this
269         *            will be a view provided by the adapter)
270         * @param position The position of the view in the adapter.
271         * @param id The row id of the item that was clicked.
272         */
273        void onItemClick(AdapterView<?> parent, View view, int position, long id);
274    }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).