`
dadi520
  • 浏览: 139990 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论
收藏列表
标题 标签 来源
Fragement show DialgFragment android
FragmentManager fm = getActivity().getSupportFragmentManager();
DialogFragment dialog = new MyDialogFragment(); // creating new object
dialog.show(fm, "dialog");
iOS Updating UI when using blocks / background threads ios http://danielbeard.wordpress.com/2012/04/16/ios-updating-ui-when-using-blocks-background-threads/
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
        //background processing goes here
        dispatch_async(dispatch_get_main_queue(), ^{
                //update UI here
        });
});
Q*Q自用
2995273245

2238491845

1827637195

1469663490
Global site tag (gtag.js) - Google Analytics