Proteus: Android Layout Engine - Aditya Sharat, Flipkart

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 10

  • @teamphoenix9669
    @teamphoenix9669 6 лет назад +4

    What about clickable items.

  • @AdityaSharat
    @AdityaSharat 7 лет назад

    Check out the project here goo.gl/SyAuoR

  •  7 лет назад

    Very Cool!, But How about Button, Input components with it's data and callBack?

  • @pavansrinivas4388
    @pavansrinivas4388 7 лет назад

    A very good presentation..

  • @applicationdeveloper9057
    @applicationdeveloper9057 6 лет назад +2

    What about callBacks ?

    • @cschaedl
      @cschaedl 6 лет назад

      You can set a callback handler in the builder and add the onClick property to the json definition. For example { "type": "Button", "onClick": {"source": "button1", param": "xyz"}, ... } . The callback implementation takes the additional parameters which can then be evaluated.
      ProteusContext context = proteusManager.getProteus().createContextBuilder(this)
      .setLayoutManager(layoutManager)
      .setCallback(callback)

  • @Falekaminey
    @Falekaminey 7 лет назад

    Superb!

  • @AnkitWadhawan93
    @AnkitWadhawan93 8 лет назад

    this is really cool!

  • @chvi111
    @chvi111 8 лет назад

    Awesome!!

  • @KhanStan
    @KhanStan 5 лет назад

    Now data is cheap :p