Commit 341f366
committed
Android: Allow passing a
Create a new `GoogleMobileAdsPlugin` constructor which takes an additional
`Supplier<FlutterAdLoader>` argument. This is available solely for testing,
and allows the provision of a mock `FlutterAdLoader` for those `FlutterAd`s
that need it during their construction.FlutterAdLoader factory1 parent 3c91d84 commit 341f366
1 file changed
Lines changed: 13 additions & 0 deletions
File tree
- packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
97 | 110 | | |
98 | 111 | | |
99 | 112 | | |
| |||
0 commit comments