2015年11月25日 星期三

[Exception] The specified child already has a parent. You must call removeView() on the child's parent first.

Reference:
http://www.cnblogs.com/over140/archive/2013/06/06/3121354.html

Pre-condition:
Activity + Fragment

Solution:
View v = inflater.inflate(R.layout.preference_fragment, container, false);


沒有留言:

張貼留言