Reputation: 5276
So far I've only bothered supporting Android API 11 and above, but this app is super simple, so I thought I'd try supporting down to 8. Eclipse only has one complaint, and that's my onCreateView method. How do I handle this without raising my minSDK version?
@Override
public View onCreateView(View parent, String name, Context context,
AttributeSet attrs) {
// TODO Auto-generated method stub
return super.onCreateView(parent, name, context, attrs); //complains here
}
Upvotes: 0
Views: 440
Reputation: 1007359
Override the three-parameter version of onCreateView()
instead, dropping View parent
.
Upvotes: 1