Skip to content

Commit

Permalink
加了段注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoqp2010 committed May 15, 2015
1 parent ebb863a commit 4b18739
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1 deletion.
Binary file modified AndBase/bin/andbase.jar
Binary file not shown.
Binary file modified AndBase/bin/classes/com/ab/activity/AbActivity.class
Binary file not shown.
Binary file modified AndBase/bin/classes/com/ab/util/AbMathUtil.class
Binary file not shown.
Binary file modified AndBase/bin/classes/com/ab/view/sliding/AbSlidingTabView$2.class
Binary file not shown.
Binary file not shown.
Binary file modified AndBase/bin/classes/com/ab/view/sliding/AbSlidingTabView.class
Binary file not shown.
8 changes: 8 additions & 0 deletions AndBase/src/com/ab/activity/AbActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,14 @@ private void setListener(Field field,String methodName,int method)throws Excepti
}
}

/**
* 标题上的返回按钮
* @param view
*/
public void back(View view){
finish();
}

/**
* 描述:Activity结束.
*
Expand Down
3 changes: 2 additions & 1 deletion AndBase/src/com/ab/view/sliding/AbSlidingTabView.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ public AbSlidingTabView(Context context, AttributeSet attrs) {
}

/**
* Instantiates a new ab sliding tab view.
* 如果控件的父亲是个Fragment,就不要使用xml声明,而是应该用这个方法代替,
* 关键是getChildFragmentManager,否则你的fragment将不能显示内容
*
* @param fragment the fragment
*/
Expand Down

0 comments on commit 4b18739

Please sign in to comment.