Giter VIP home page Giter VIP logo

Comments (6)

yanex avatar yanex commented on May 22, 2024

Versions 0.6-15s and 0.6-19s include functions and properties for support-v4 and appcompat-v7 libraries as well.

from anko.

SalomonBrys avatar SalomonBrys commented on May 22, 2024

OK, if I understand correctly, the 15 and 19 are the SDK level, and the s is for support. Is that right ?

from anko.

yanex avatar yanex commented on May 22, 2024

Yes, that's right.

from anko.

damianpetla avatar damianpetla commented on May 22, 2024

Maybe its a stupid question but it's not clear for me when should I use 0.6-15s and when 0.6-19s? I have minSdk = 16 in my project and I use support library.

from anko.

SalomonBrys avatar SalomonBrys commented on May 22, 2024

A diff between anko-0.6-15-sources.jar and anko-0.6-19-sources.jar shows:

  • A lot of difference in InterfaceWorkarounds.java that I don't understand.
  • Adding support for creating LayoutParams by copy, which is a feature that came with SDK 19
  • Addition of listener builder methods:
    • AutoCompleteTextView.onDismiss for the AutoCompleteTextView.OnDismissListener that came with SDK 17
    • VideoView.onInfo for the MediaPlayer.OnInfoListener that came with SDK... 3! So I don't understand why it is in -19 and not in -15.
  • Lots of additions for all the view getters, setters and methods that came after SDK 15
  • Access to all services that were added after SDK 15 such as BLUETOOTH_SERVICE, PRINT_SERVICE, etc.

What I don't understand is why creating two libraries, You can use the -19 library with your app without problems as long as you are not using functions that refer to features that are over SDK 16.
So why two library ? And why specifically SDK 15 and 19 ?

from anko.

yanex avatar yanex commented on May 22, 2024

Related issue: #58.

from anko.

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.