Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
[n.u.traits] itemClickListener target to AdapterView
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yakushev committed Aug 17, 2015
1 parent f6c43bb commit d63ee05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clojure/neko/ui/traits.clj
Expand Up @@ -8,7 +8,7 @@
neko.listeners.search-view
[neko.-utils :refer [memoized int-id]])
(:import [android.widget LinearLayout$LayoutParams ListView TextView SearchView
ImageView RelativeLayout RelativeLayout$LayoutParams
ImageView RelativeLayout RelativeLayout$LayoutParams AdapterView
AbsListView$LayoutParams FrameLayout$LayoutParams Gallery$LayoutParams]
[android.view View ViewGroup$LayoutParams
ViewGroup$MarginLayoutParams]
Expand Down Expand Up @@ -479,6 +479,6 @@ next-level elements."
id Item view row id
and sets it as an OnItemClickListener for the widget."
[^ListView wdg, {:keys [on-item-click]} _]
[^AdapterView wdg, {:keys [on-item-click]} _]
(.setOnItemClickListener wdg (adapter-view/on-item-click-call on-item-click)))

0 comments on commit d63ee05

Please sign in to comment.