Databinding Redirection to xml is not working in android studio 3.1.2

前端 未结 1 665
别跟我提以往
别跟我提以往 2021-02-06 01:16

I have updated android studio to latest version(3.1.2) and now when I click on BindingClass with ctrl it\'s not opening xml file for it which was working in previous version. An

1条回答
  •  一整个雨季
    2021-02-06 01:35

    For opening related XML

    Android Studio has a new icon for related XML redirection. My AS version is 3.2.1.

    An hack for opening Binding Class.

    • Ctrl + N (Open File)
    • Type ActivityMainBinding {or first letters - Amb for ActivityMainBinding if you are smart enough :)
    • Hit enter on ActivityMainBinding

    sc1

    sc2

    FYI I faced this problem in Java class only, [Go to declaration] works well with kotlin.

    
    0 讨论(0)
提交回复
热议问题