Android : How do I update my textView in a Fragment

前端 未结 3 991
旧巷少年郎
旧巷少年郎 2020-12-29 08:44

I am trying to use fragments to build my first proper Android App. I have a main xml. which consists of two vertical fragments, the top fragments consists of just two TextVi

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-29 08:58

    I am not an expert but I would say that return statement within a method returns something and the next lines after this statement are unreachable :O

    So try to change the order! :)

提交回复
热议问题