Giter Club home page Giter Club logo

zhihudaily's Introduction

ZhihuDaily

ZhihuDaily for Kotlin,说明请看这里

Dev

  • Android-Studio: 3.0.1
  • Java version: 1.8
  • Kotlin version: 1.1.3
  • SDK Tool: 25.0.2
  • 知乎日报API

*

Screenshot

   

               

               

            

Download

qr_code


Licence

Copyright 2017 JokAr

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

zhihudaily's People

Contributors

michaeljokar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zhihudaily's Issues

编译不过

dagger 相关的无法生成

Error:(8, 49) Unresolved reference: DaggerAppComponent
Error:(9, 57) Unresolved reference: DaggerNetworkComponent
Error:(37, 32) Unresolved reference: DaggerNetworkComponent
Error:(54, 9) Unresolved reference: DaggerAppComponent

只复制了一段

提点问题或建议,比如内存泄露,kotlin anko库的使用

首先感谢作者的开源,mvp+dagger的融合开源更好,google的例子就很好
我这边使用的是HisenseE76mini的android6.0的系统,
1、内存泄露可能的几个地方, 一个是主题换肤,一个是报的Usermanager的内存泄露,代码貌似都没有用到这个,还没定位到根本原因
2、比如ano kotlin commons包的使用,拿splashActity为例 跳转MainActity可以直接写成startActivity()即可,
另外动画的内存泄露,需要把animation改成成员变量,然后在ondestroy是调下animation.cancel()
3、页面都会有关
4、部署release版本报奇怪的错误, 获取执行 ./gradlew assemble报没有权限 执行sudo ./gradlew assemble报错 找不到./gradlew ,而我自己的其他项目都是可用的

把android studio 升级到3.0然后报这个问题

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0) from [com.android.support:design:26.0.0] AndroidManifest.xml:28:13-35
is also present at [com.android.support:support-core-utils:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:26:9-28:38 to override.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.