kotlin remove findviewbyid plugin

Remove findViewById Plugin in Kotlin

// Before
import kotlinx.android.synthetic.main.activity_main.*
// After
// No need for findViewbyId
  1. Remove the import statement: Before: import kotlinx.android.synthetic.main.activity_main.* After: No need for findViewbyId

  2. Explanation: In Kotlin Android extensions, you can access views directly without the need for findViewById. By removing the import statement, you eliminate the need to use findViewById for accessing views in your Kotlin code.