Skip to content

Commit

Permalink
多余文件增加注释说明
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Jul 16, 2018
1 parent 946a4d7 commit 2fcdf67
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ private void bindItem() {
itemView.setVisibility(View.VISIBLE);
break;
case LOAD_NONE:
System.out.println("LOAD_NONE----");
mBindFooter.progress.setVisibility(View.GONE);
mBindFooter.tvLoadPrompt.setText("没有更多内容了");
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import static com.example.jingbin.cloudreader.view.statusbar.StatusBarUtil.getStatusBarHeight;

/**
* (已可以使用:OneMovieDetailActivity.java 替代)
* (已使用:{@link OneMovieDetailActivity} 替代)
* 思路:
* 1、透明状态栏(透明titlebar,使背景图上移)
* 2、titlebar底部增加和背景一样的高斯模糊图,并上移图片的高度-titlebar的高度(为了使背景图的底部作为titlebar的背景)
Expand Down Expand Up @@ -212,7 +212,7 @@ public void onClick(View v) {
public boolean onMenuItemClick(MenuItem item) {
switch (item.getItemId()) {
case R.id.actionbar_more:// 更多信息
WebViewActivity.loadUrl(MovieDetailActivity.this,mMoreUrl,mMovieName);
WebViewActivity.loadUrl(MovieDetailActivity.this, mMoreUrl, mMovieName);
break;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
import com.example.jingbin.cloudreader.utils.TimeUtil;
import com.example.jingbin.cloudreader.viewmodel.movie.OneViewModel;

/**
* @author jingbin
*/
public class OneFragment extends BaseFragment<FragmentOneBinding> {

// 初始化完成后加载数据
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import rx.schedulers.Schedulers;

/**
* 最新的电影详情页:
* 继承基类而写的电影详情页 2016-12-13
*/
public class OneMovieDetailActivity extends BaseHeaderActivity<HeaderSlideShapeBinding, ActivityOneMovieDetailBinding> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
import com.example.jingbin.cloudreader.view.CallBack_ScrollChanged;
import com.example.jingbin.cloudreader.view.test.StatusBarUtils;

/**
* (已使用:{@link OneMovieDetailActivity} 替代)
*/
public class SlideActivity extends AppCompatActivity {

private ActivitySlideBinding binding;
Expand Down Expand Up @@ -52,7 +55,7 @@ protected void onCreate(Bundle savedInstanceState) {
if (binding.imgItemBg != null) {
ViewGroup.MarginLayoutParams layoutParams = (ViewGroup.MarginLayoutParams) binding.imgItemBg.getLayoutParams();
layoutParams.setMargins(0, -getStatusBarHeight(this), 0, 0);
DebugUtil.error("getStatusBarHeight:"+getStatusBarHeight(this));
DebugUtil.error("getStatusBarHeight:" + getStatusBarHeight(this));
}
initNewSlidingParams();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import static com.example.jingbin.cloudreader.view.statusbar.StatusBarUtil.getStatusBarHeight;

/**
* (已使用:{@link OneMovieDetailActivity} 替代)
* 暂时的电影详情页 2016-11-29
*/
public class SlideScrollViewActivity extends AppCompatActivity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import static com.example.jingbin.cloudreader.view.statusbar.StatusBarUtil.getStatusBarHeight;

/**
* (已使用:{@link OneMovieDetailActivity} 替代)
* 思路:
* 1、透明状态栏(透明titlebar,使背景图上移)
* 2、titlebar底部增加和背景一样的高斯模糊图,并上移图片的高度-titlebar的高度(为了使背景图的底部作为titlebar的背景)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import jp.wasabeef.glide.transformations.BlurTransformation;

/**
* (已使用:{@link OneMovieDetailActivity} 替代)
* 第二种电影详情页
*/
public class TestActivity extends AppCompatActivity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;

/**
* 已废弃,使用{@link BookListFragment},替代
*/
public class BookCustomFragment extends BaseFragment<FragmentBookCustomBinding> {

private static final String TYPE = "param1";
Expand Down

0 comments on commit 2fcdf67

Please sign in to comment.