Coder Social home page Coder Social logo

jetpacklearn's Introduction

JetpackLearn

学习Android JetPack系列笔记 ]

遇到了几个问题:

  1. 在处理Room依赖时,需要引入kotlin-kapt插件,用来处理Kotlin中的注解 比如在Room中,有各种注解

  2. 主要学习了ViewModel

viewModel 主要ViewModelFactory创建,即使用了工厂模式 并储存在viewModelProviders中,一般使用ViewModel具体实现的类class作为key来索引viewModel 在使用viewModel时,由ViewModelProviders来提供,由此,ViewModelProviders也管理viewModel的生命周期,通过指定它的context

jetpacklearn's People

Contributors

wjploop avatar

Watchers

 avatar

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.