Skip to content

Commit

Permalink
修改注释
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeterry committed Oct 14, 2017
1 parent 990b030 commit 8123321
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions coordinatortablayout/coordinatortablayout.iml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/annotations" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private void initToolbar() {
* 设置Toolbar标题
*
* @param title 标题
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setTitle(String title) {
if (mActionbar != null) {
Expand All @@ -112,7 +112,7 @@ public CoordinatorTabLayout setTitle(String title) {
* 设置Toolbar显示返回按钮及标题
*
* @param canBack 是否返回
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setBackEnable(Boolean canBack) {
if (canBack && mActionbar != null) {
Expand All @@ -126,7 +126,7 @@ public CoordinatorTabLayout setBackEnable(Boolean canBack) {
* 设置每个tab对应的头部图片
*
* @param imageArray 图片数组
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setImageArray(@NonNull int[] imageArray) {
mImageArray = imageArray;
Expand All @@ -139,7 +139,7 @@ public CoordinatorTabLayout setImageArray(@NonNull int[] imageArray) {
*
* @param imageArray 图片数组
* @param colorArray ContentScrimColor数组
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setImageArray(@NonNull int[] imageArray, @NonNull int[] colorArray) {
mImageArray = imageArray;
Expand All @@ -152,7 +152,7 @@ public CoordinatorTabLayout setImageArray(@NonNull int[] imageArray, @NonNull in
* 设置每个tab对应的ContentScrimColor
*
* @param colorArray 图片数组
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setContentScrimColorArray(@NonNull int[] colorArray) {
mColorArray = colorArray;
Expand Down Expand Up @@ -193,7 +193,7 @@ public void onTabReselected(TabLayout.Tab tab) {
* 设置与该组件搭配的ViewPager
*
* @param viewPager 与TabLayout结合的ViewPager
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setupWithViewPager(ViewPager viewPager) {
mTabLayout.setupWithViewPager(viewPager);
Expand Down Expand Up @@ -225,7 +225,7 @@ public ImageView getImageView() {
* 设置LoadHeaderImagesListener
*
* @param loadHeaderImagesListener 设置LoadHeaderImagesListener
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setLoadHeaderImagesListener(LoadHeaderImagesListener loadHeaderImagesListener) {
mLoadHeaderImagesListener = loadHeaderImagesListener;
Expand All @@ -237,7 +237,7 @@ public CoordinatorTabLayout setLoadHeaderImagesListener(LoadHeaderImagesListener
* 设置透明状态栏
*
* @param activity 当前展示的activity
* @return
* @return CoordinatorTabLayout
*/
public CoordinatorTabLayout setTransulcentStatusBar(@NonNull Activity activity) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
Expand Down

0 comments on commit 8123321

Please sign in to comment.