package Ġcom . phil soft . metro trip per . app . drawer Ċ Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Editor Info Ċ import Ġcom . jak ew h art on . r xb ind ing 2 . view . Rx View Ċ import Ġcom . jak ew h art on . r xb ind ing 2 . widget . editor Action Events Ċ import Ġkotlinx . android . extensions . Layout Container Ċ import Ġkotlinx . android . synt hetic . main . search _ drawer _ item .* Ċ Ċ class ĠSearch ViewHolder ( override Ġval Ġcontainer View : ĠView ) Ġ: ĠRecyclerView . ViewHolder ( container View ), ĠLayout Container Ġ{ ĊĠĠĠ Ġprivate Ġval Ġsearch Action Ġ= Ġentry . editor Action Events () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Ġ{ Ġevent Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġevent . action Id () Ġ== ĠEditor Info . IME _ ACTION _ GO ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġval Ġsearch Event Ġ= ĠRx View . click s ( search Button ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. merge With ( search Action ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. map Ġ{ Ġentry . text . toString (). to Long () Ġ} !! Ċ }