Redeem Now
Read More
Read now

Dynamically add new View through data binding


This is not best practice to add a view dynamic time through data binding, but if we want to add a view more time in more places then we can use to add view through Data Binding.


. . .

Comments (4)

Add Your Comment

  • jrh
    Please share the sample project
    • ashwini gupta
      sorry, I can’t share source code because I have deleted the Sample code. what issues are you facing to create dynamically creating a view? Please explain.
      • mochadwi
        app:addDynomicView, is this your custom databinding adapter? would you mind giving us the example of databinding adapter class of yours?
        • ashwini gupta
          Yes, It is a custom data-binding adapter, that holds two-parameter one LinearLayout and second TextView. we don’t share source code due to company policy.
          What you facing the issue, please explain or share your code so that I can verify your point.
  • css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again