File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,26 @@ permalink: /changelog/
49
49
* ** feature-customtabs**
50
50
* ` CustomTabsToolbarFeature ` now optionally takes ` Window ` as a parameter. It will update the status bar color to match the toolbar color.
51
51
52
+ * ** feature-sendtab**
53
+ * 🆕 New component for send tab use cases.
54
+
55
+ ``` kotlin
56
+ val sendTabUseCases = SendTabUseCases (accountManager)
57
+
58
+ // Send to a particular device
59
+ sendTabUseCases.sendToDeviceAsync(" 1234" , TabData (" Mozilla" , " https://mozilla.org" ))
60
+
61
+ // Send to all devices
62
+ sendTabUseCases.sendToAllAsync(TabData (" Mozilla" , " https://mozilla.org" ))
63
+
64
+ // Send multiple tabs to devices works too..
65
+ sendTabUseCases.sendToDeviceAsync(" 1234" , listof(tab1, tab2))
66
+ sendTabUseCases.sendToAllAsync(listof(tab1, tab2))
67
+ ```
68
+
69
+ * ** support-ktx**
70
+ * Added ` Collection.crossProduct ` to retrieve the cartesian product of two ` Collections ` .
71
+
52
72
# 5.0.0
53
73
54
74
* [ Commits] ( https://github.com/mozilla-mobile/android-components/compare/v4.0.0...v5.0.0 )
You can’t perform that action at this time.
0 commit comments