Rate me Illegal state exception

后端 未结 1 1300
终归单人心
终归单人心 2021-01-27 19:25

Working on Rate me function .. getting problem in this ... i have wrote Rate me function code in a Fragment That is named as RateUss... But the problem is that i dont have an

相关标签:
1条回答
  • 2021-01-27 20:22

    You are returning the container in onCreateView which is wrong. You have to create the fragment view and return that, maybe inflating some xml, or return null if fragment doesn't have ui. I reccomend to read this:

    http://developer.android.com/intl/es/guide/components/fragments.html#Creating

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