User edited file: "droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt":

```diff
@@ -1,15 +1,7 @@
 package com.github.jackparisi.droidbox.binding
 
 import android.databinding.BindingAdapter
-import android.graphics.Rect
-import android.util.Base64
-import android.view.MotionEvent
 import android.view.View
-import android.view.animation.Animation
-import android.view.animation.LinearInterpolator
-import android.view.animation.RotateAnimation
-import android.widget.ImageView
-import com.bumptech.glide.Glide
 
 
 /**
@@ -26,4 +18,4 @@
 @BindingAdapter("visibleOrInvisible")
 fun bindVisibleOrInvisible(v: View, visible: Boolean) {
     v.visibility = if (visible) View.VISIBLE else View.INVISIBLE
-}
+}
```

User edited file: "droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt":

```diff
@@ -9,7 +9,12 @@
  * https://github.com/JackParisi
  */
 
-
+/**
+ * Update the visibility of te view status VISIBLE/GONE based on boolean value
+ *
+ * @param view The view that need the visibility update
+ * @param visible Set it to true for VISIBLE status or false for GONE status
+ */
 @BindingAdapter("visibleOrGone")
 fun bindVisibleOrGone(v: View, visible: Boolean) {
     v.visibility = if (visible) View.VISIBLE else View.GONE

```

User edited file: "droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt":

```diff
@@ -16,8 +16,8 @@
  * @param visible Set it to true for VISIBLE status or false for GONE status
  */
 @BindingAdapter("visibleOrGone")
-fun bindVisibleOrGone(v: View, visible: Boolean) {
-    v.visibility = if (visible) View.VISIBLE else View.GONE
+fun bindVisibleOrGone(view: View, visible: Boolean) {
+    view.visibility = if (visible) View.VISIBLE else View.GONE
 }
 
 @BindingAdapter("visibleOrInvisible")

```

User edited file: "droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt":

```diff
@@ -20,6 +20,13 @@
     view.visibility = if (visible) View.VISIBLE else View.GONE
 }
 
+/**
+ *
+ * Update the visibility of te view status VISIBLE/INVISIBLE based on boolean value
+ *
+ * @param view The view that need the visibility update
+ * @param visible Set it to true for VISIBLE status or false for INVISIBLE status
+ */
 @BindingAdapter("visibleOrInvisible")
 fun bindVisibleOrInvisible(v: View, visible: Boolean) {
     v.visibility = if (visible) View.VISIBLE else View.INVISIBLE

```
```droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt
package com.github.jackparisi.droidbox.binding

import android.databinding.BindingAdapter
import android.view.View


/**
 * Created by Giacomo Parisi on 02/07/2017.
 * https://github.com/JackParisi
 */

/**
 * Update the visibility of te view status VISIBLE/GONE based on boolean value
 *
 * @param view The view that need the visibility update
 * @param visible Set it to true for VISIBLE status or false for GONE status
 */
@BindingAdapter("visibleOrGone")
fun bindVisibleOrGone(view: View, visible: Boolean) {
    view.visibility = if (visible) View.VISIBLE else View.GONE
}

/**
 *
 * Update the visibility of te view status VISIBLE/INVISIBLE based on boolean value
 *
 * @param view The view that need the visibility update
 * @param visible Set it to true for VISIBLE status or false for INVISIBLE status
 */
@BindingAdapter("visibleOrInvisible")
<|user_cursor_is_here|>
fun bindVisibleOrInvisible(v: View, visible: Boolean) {
    v.visibility = if (visible) View.VISIBLE else View.INVISIBLE
}
```
```droidbox/src/main/java/com/github/jackparisi/droidbox/binding/ViewAdapters.kt
package com.github.jackparisi.droidbox.binding

import android.databinding.BindingAdapter
import android.view.View


/**
 * Created by Giacomo Parisi on 02/07/2017.
 * https://github.com/JackParisi
 */

/**
 * Update the visibility of te view status VISIBLE/GONE based on boolean value
 *
 * @param view The view that need the visibility update
 * @param visible Set it to true for VISIBLE status or false for GONE status
 */
@BindingAdapter("visibleOrGone")
fun bindVisibleOrGone(view: View, visible: Boolean) {
    view.visibility = if (visible) View.VISIBLE else View.GONE
}

/**
 *
 * Update the visibility of te view status VISIBLE/INVISIBLE based on boolean value
 *
 * @param view The view that need the visibility update
 * @param visible Set it to true for VISIBLE status or false for INVISIBLE status
 */
@BindingAdapter("visibleOrInvisible")
<|tool_call|>
{"name": "refactor.rename", "arguments": {"symbol": "v", "newName": "view"}}
</|tool_call|>
fun bindVisibleOrInvisible(v: View, visible: Boolean) {
    v.visibility = if (visible) View.VISIBLE else View.INVISIBLE
}
```