Differences
This shows you the differences between two versions of the page.
lwc:programming:mobile:android:lambdas_and_friends [2022/02/23 12:57] – created John Harrison | lwc:programming:mobile:android:lambdas_and_friends [2022/02/23 12:59] (current) – John Harrison | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Functional Programming ===== | ===== Functional Programming ===== | ||
Treating methods as first-class objects requires lambda functions. Very basic example: | Treating methods as first-class objects requires lambda functions. Very basic example: | ||
- | < | + | < |
public class MainActivity extends AppCompatActivity { | public class MainActivity extends AppCompatActivity { | ||