Fragment ãã Activity ã«ã³ã¼ã«ããã¯ãããã¨ãã«ãä¾ãã°ãããªæãã§å®è£ ãããã¨ãã§ãã¾ãã public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); MainFragment fragment = new MainFragment(); fragment.setOnOkBtnClickListener(new MainFragment.OnOkBtnClickListener() { @Override public void onOkClicked() { // TODO Auto-generated method stub } }); getF
{{#tags}}- {{label}}
{{/tags}}