title: why we declare data binding adapters inside companion object?
body: <p>I am currently learning Data Binding in android. But I did not find any answer to my question I mentioned above.</p>
  <p>Also we annotate it with <code>@JvmStatic</code> but I don't know reason why we use this annotation?</p>
  <pre><code>class RecipesRowBinding {
  
      companion object {
  
          @BindingAdapter(&quot;onRecipeClickListener&quot;)
          @JvmStatic
          fun onRecipeClickListener(recipeRowLayout: ConstraintLayout, result: Result) {...}
      }
  }
  </code></pre>
  <p>Also my another question is, is databinding a recommended standard? I read that data binding can make app build slower as it generates classes.</p>