title: Can we pass java method to to kotlin function of type () -> Unit?
body: <p>I have a method of kotlin like below</p>
  
  <pre><code> fun initDrawer(drawerView: DrawerView, drawerLayout: DrawerLayout, context: Context, onRefreshClick: ()  -&gt; Unit) {
    }
  </code></pre>
  
  <p>But when I try to pass initDrawer(drawerView,drawerlayout,this,onRefreshClick())
  it gives me an error of required () cannot be applied to(kotlin.Unit)</p>
  
  <p>is it possible to pass methods from java to kotlin.</p>