Closed
Bug 1224523
Opened 9 years ago
Closed 9 years ago
Deprecate API for button toasts
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sebastian, Assigned: sebastian)
References
Details
Attachments
(2 files)
Bug 1157526 replaced all button toasts with a Snackbar. Now we can deprecate the button-part of the API. Additionally bug 1216051 is filed about deprecating the whole toast API (in discussion).
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1224523 - (Part 1) Deprecate and limit access to button toast methods from within Java. r?mcomella
Attachment #8687269 -
Flags: review?(michael.l.comella)
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1224523 - (Part 2) Log deprecation error if button toast JS API is used. r?mcomella
Attachment #8687270 -
Flags: review?(michael.l.comella)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
Keywords: dev-doc-needed
Comment on attachment 8687269 [details] MozReview Request: Bug 1224523 - (Part 1) Deprecate and limit access to button toast methods from within Java. r?mcomella https://reviewboard.mozilla.org/r/25165/#review22693 ::: mobile/android/base/GeckoApp.java:896 (Diff revision 1) > + private void showButtonToast(final String message, final String duration, Add javadoc to explain an alternative to this method, as per [1](http://stackoverflow.com/a/9031854). ::: mobile/android/base/GeckoApp.java:905 (Diff revision 1) > + ViewStub toastStub = (ViewStub) findViewById(R.id.toast_stub); Nice optimization!
Attachment #8687269 -
Flags: review?(michael.l.comella) → review+
Attachment #8687270 -
Flags: review?(michael.l.comella) → review+
Comment on attachment 8687270 [details] MozReview Request: Bug 1224523 - (Part 2) Log deprecation error if button toast JS API is used. r?mcomella https://reviewboard.mozilla.org/r/25167/#review22695
Assignee | ||
Comment 5•9 years ago
|
||
I'll hold this back. It looks like we are going to replace all toasts in bug 1224521. Instead of just deprecating button toasts we could deprecate the whole API (More in bug 1224523).
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #5) > (More in bug 1224523). This should be bug 1216051.
Assignee | ||
Comment 7•9 years ago
|
||
We are going to deprecate the toast API and delegate calls to create snackbars (bug 1216051).
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Keywords: dev-doc-needed
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•