Skip to content

Commit

Permalink
V1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
smuyyh committed Apr 1, 2017
1 parent cdf40fc commit acb687c
Showing 3 changed files with 14 additions and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,9 +10,6 @@

demo下载:[任阅.apk](https://github.com/JustWayward/BookReader/raw/master/体验demo/任阅-20170129.apk)

## 郑重声明!
本项目虽然是开源项目,目的是共享学习只用,代码写的不好,也不准备上线!但是,近期不断发现,某些有心之人在不经作者的同意下,直接稍加修改,并且嵌入广告谋取利益,发布到各大应用市场,还请尊重源作者的版权!

## TODO
* [ ] txt阅读优化模拟翻书效果,提高分页速度以及分页准确性

Original file line number Diff line number Diff line change
@@ -16,7 +16,9 @@
package com.justwayward.reader.ui.activity;

import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AlertDialog;

import com.justwayward.reader.R;
import com.justwayward.reader.base.BaseRVActivity;
@@ -78,6 +80,15 @@ public void initDatas() {
public void configViews() {
mPresenter.attachView(this);
mPresenter.getBookSource("summary", bookId);

new AlertDialog.Builder(this)
.setMessage("换源功能暂未实现,后续更新...")
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
}).create().show();
}

@Override
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
package com.justwayward.reader.ui.fragment;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
@@ -61,7 +62,7 @@ public void initDatas() {
mList.add(new FindBean("排行榜", R.drawable.home_find_rank));
mList.add(new FindBean("主题书单", R.drawable.home_find_topic));
mList.add(new FindBean("分类", R.drawable.home_find_category));
mList.add(new FindBean("有声小说", R.drawable.home_find_listen));
mList.add(new FindBean("官方QQ群", R.drawable.home_find_listen));
}

@Override
@@ -98,6 +99,7 @@ public void onItemClick(View view, int position, FindBean data) {
startActivity(new Intent(activity, TopCategoryListActivity.class));
break;
case 3:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://jq.qq.com/?_wv=1027&k=46qbql8")));
break;
default:
break;

0 comments on commit acb687c

Please sign in to comment.