Top "Dynamic" questions

Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.

Add an array of buttons to a GridView in an Android application

I have an application that will have 5-15 buttons depending on what is available from a backend. How do I …

android arrays button dynamic android-gridview
How to perform runtime type checking in Dart?

Dart specification states: Reified type information reflects the types of objects at runtime and may always be queried by dynamic …

dynamic dart instanceof dart-mirrors
Dynamically import a method in a file, from a string

I have a string, say: abc.def.ghi.jkl.myfile.mymethod. How do I dynamically import mymethod? Here is how …

python dynamic import dynamic-import
Javascript: onclick/onsubmit for dynamically created button

I dynamically create a button in the way I found in the Internet: Page = function(...) { ... }; Page.prototype = { ... addButton : function() { var …

javascript onclick element dynamic createelement
Width and Height Equal to its superView using autolayout programmatically?

I've been looking for a lot of snippets in the net and I still can't find the answer to my …

ios swift dynamic autolayout nslayoutconstraint
How to add dynamically attribute in VueJs

I'm using vuejs and I wanna know how to have control on inputs (add disabled attribute when necessary). Is there …

javascript vue.js dynamic vue-component
Is there a best practice for generating html with javascript

I'm calling a web service that returns an array of objects in JSON. I want to take those objects and …

javascript html ajax dynamic dhtml
What's the difference between dynamic (C# 4) and var?

I had read a ton of articles about that new keyword that is shipping with C# v4, but I couldn't …

c# dynamic
Javascript: how to dynamically create nested objects using object names given by an array

I hope someone can help me with this Javascript. I have an Object called "Settings" and I would like to …

javascript arrays object dynamic nested
How do I size a UITextView to its content on iOS 7?

I've been using the accepted answer here for years. On iOS 7, the contentSize.height becomes the frame.height-8, regardless of …

dynamic height uitextview ios7