我无法在FragmentPagerAdapter
. RadioGroup(this)
给我未定义的错误。我用它getContext()
代替了这个但无法实现
private static class MyFragmentPagerAdapter extends FragmentPagerAdapter {
final RadioGroup rg = new RadioGroup(this); // what can I use instead of "this" ?
}
我无法在FragmentPagerAdapter
. RadioGroup(this)
给我未定义的错误。我用它getContext()
代替了这个但无法实现
private static class MyFragmentPagerAdapter extends FragmentPagerAdapter {
final RadioGroup rg = new RadioGroup(this); // what can I use instead of "this" ?
}