Giter Club home page Giter Club logo

Comments (5)

youlookwhat avatar youlookwhat commented on August 27, 2024

对啊,只是使用了ACache类,并没有使用数据库缓存之类的,不知你有什么高见。

from cloudreader.

KarlMarxs avatar KarlMarxs commented on August 27, 2024

你好,这块没有看法。还有个问题你项目中讲用到了DataBinding 框架,但是我们看你的项目,你在BaseActivity以及其他类中只是简单的通过DataBinding 映射一个bing类,省去了findviewbyid的过程,而没有用到数据绑定这块,请问你是怎么设计的?

from cloudreader.

youlookwhat avatar youlookwhat commented on August 27, 2024

数据绑定在各自继承的子类里实现

from cloudreader.

KarlMarxs avatar KarlMarxs commented on August 27, 2024

你好,我理解DataBinding 框架功能拆分为:1代替注入框架2数据绑定,如在layout中使用binding语法“@{user.name}”如此。
我看了你的代码,使用框架只涉及到第一种功能:
mHeaderBinding = DataBindingUtil.inflate(LayoutInflater.from(getContext()), R.layout.header_item_everyday, null, false);
..............

这面只是疑意,你写的代码复用性好高,我目前在做framwork工作已经有1年半没有涉及app开发了,看你的代码挺好,赞

from cloudreader.

youlookwhat avatar youlookwhat commented on August 27, 2024

遇到做framwork的大神了,我们是应用层,到framwork还有一段距离啊

from cloudreader.

Related Issues (20)

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.