FragmentCompatibility.java 文件源码

java
阅读 16 收藏 0 点赞 0 评论 0

项目:JCL 作者:
@Override
public void onResume() {
    super.onResume();
    View v = getView();
    TextView tx = (TextView) v.findViewById(R.id.txList);
    JCL_ANDROID_Facade jcl = JCL_ANDROID_Facade.getInstance();
    if (!JCL_HostService.isWorking) {
        tx.setText("Your device doesn't support these sensors:\n\n"
                + incompatibleSensor[0] + "\n\n"
                + "Your device supports these sensors:\n\n"
                + incompatibleSensor[1]);
    } else
        tx.setText(jcl.getTerminal());


    tx.setMovementMethod(new ScrollingMovementMethod());
    Button b = (Button) v.findViewById(R.id.btnrun);
    if (!JCL_HostService.isWorking)
        b.setText("Run");
    else
        b.setText("Stop");

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号