commit | c0ca262e0c527131e052fe608b468c784df1452a | [log] [tgz] |
---|---|---|
author | Jake Wharton <jakew@google.com> | Mon Feb 26 15:30:38 2018 -0500 |
committer | Jake Wharton <jakew@google.com> | Mon Feb 26 15:30:48 2018 -0500 |
tree | d2e31ce340868caf0efe19aa6cae0104d23e4339 | |
parent | 670aa684c7d7040a4d458cad338ef93fa321ffc2 [diff] |
Mark some trivial view-related methods as inline. The lambdas were creating anonymous types at the callsite already. They were then wrapped in a Runnable inside the method before being posted. By inling and changing the lambda to crossinline, the anonymous type becomes itself a Runnable which can be posted directly.