Giter Site home page Giter Site logo

mvvmdemo_sunofbeaches's Introduction

已知的bug

commit总是feat 不太规范 不要纠结这个

  1. commit ID 为 dcf0036ccdb9c9ae0f6fe494f8efd3703ec6b9a2

    内容为:更新到第14节课,view通知presenter生命周期变化

    a. 代码会跑不起来,原因是MusicPresenter中没有实现接口

     override fun onStart() {
            TODO("Not yet implemented")
        }
    

    解决方法是删掉这些TODO

    b. 还有由于监听网络变化放在onCreate(),导致放到后台重新启动不会打log,解决方式是放到onStart

    c. 还有命名问题,应该是Lifecycle而不是LifeCircle

    第一个问题已经在第15节课代码修复,剩下两个在16节课代码中修复

  2. 发现FlowPlayerControllerActivity缺少了代码 这个错误在第18节课的时候重构的时候修复了

  3. 发现FlowPlayerControllerActivity缺少了代码中的按钮点击事件的按钮名称写错了 应该是playOrPauseBtn而不是playerOrPauseBtn

        playerPresenter.currentPlayState.addListener(this){
            playOrPauseBtn.text = if (it === PlayerPresenter.PlayState.PLAYING){
                "暂停"
            }else{
                "播放"
            }
        }
    

    这个错误在第30节课中进行了修复

mvvmdemo_sunofbeaches's People

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.