generic types

  1. D

    Android Question Passing Types to a Sub

    How do I pass a Type to a sub. I want something like this pseudo code: Dim element 1 As Button Dim element 2 As Label Dim element 3 As Webview ---- DoSomething(element1, button, changeColor) DoSomething(element2, label, changeText) DoSomething(element3, webview, changeURL) ---- Sub...