blob: 2b64f0601655df7d22ba65dd678b88022c395759 [file] [log] [blame]
Alan Viverettef11879ae2016-12-08 16:31:09 -05001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<HTML style="overflow:auto;">
3<HEAD>
4<meta name="generator" content="JDiff v1.1.0">
5<!-- Generated by the JDiff Javadoc doclet -->
6<!-- (http://www.jdiff.org) -->
7<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
8<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
9<TITLE>
10android.support.design.widget.Snackbar
11</TITLE>
12<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
13<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
14<noscript>
15<style type="text/css">
16body{overflow:auto;}
17#body-content{position:relative; top:0;}
18#doc-content{overflow:visible;border-left:3px solid #666;}
19#side-nav{padding:0;}
20#side-nav .toggle-list ul {display:block;}
21#resize-packages-nav{border-bottom:3px solid #666;}
22</style>
23</noscript>
24<style type="text/css">
25</style>
26</HEAD>
27<BODY>
28<!-- Start of nav bar -->
29<a name="top"></a>
30<div id="header" style="margin-bottom:0;padding-bottom:0;">
31<div id="headerLeft">
32<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
33</div>
34 <div id="headerRight">
35 <div id="headerLinks">
36<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
37<span class="text">
38<!-- &nbsp;<a href="#">English</a> | -->
39<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
40</span>
41</div>
42 <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
43 <table class="diffspectable">
44 <tr>
45 <td colspan="2" class="diffspechead">API Diff Specification</td>
46 </tr>
47 <tr>
48 <td class="diffspec" style="padding-top:.25em">To Level:</td>
49 <td class="diffvaluenew" style="padding-top:.25em">25.1.0</td>
50 </tr>
51 <tr>
52 <td class="diffspec">From Level:</td>
53 <td class="diffvalueold">25.0.0</td>
54 </tr>
55 <tr>
56 <td class="diffspec">Generated</td>
57 <td class="diffvalue">2016.12.08 16:29</td>
58 </tr>
59 </table>
60 </div><!-- End and-diff-id -->
61 <div class="and-diff-id" style="margin-right:8px;">
62 <table class="diffspectable">
63 <tr>
64 <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
65 </tr>
66 </table>
67 </div> <!-- End and-diff-id -->
68 </div> <!-- End headerRight -->
69 </div> <!-- End header -->
70<div id="body-content" xstyle="padding:12px;padding-right:18px;">
71<div id="doc-content" style="position:relative;">
72<div id="mainBodyFluid">
73<H2>
74Class android.support.design.widget.<A HREF="../../../../reference/android/support/design/widget/Snackbar.html" target="_top"><font size="+2"><code>Snackbar</code></font></A>
75</H2>
76<p><font xsize="+1">The superclass changed from <code>java.lang.Object</code> to <code>android.support.design.widget.BaseTransientBottomBar</code>.<br></font>
77<a NAME="constructors"></a>
78<a NAME="methods"></a>
79<p>
80<a NAME="Changed"></a>
81<TABLE summary="Changed Methods" WIDTH="100%">
82<TR>
83 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
84</TH>
85<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
86 <TD VALIGN="TOP" WIDTH="25%">
87 <A NAME="android.support.design.widget.Snackbar.dismiss_changed()"></A>
88 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#dismiss()" target="_top"><code>dismiss</code></A>() </nobr>
89 </TD>
90 <TD VALIGN="TOP" WIDTH="30%">
91Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#dismiss()" target="_top"><code>BaseTransientBottomBar</code></a>.
92 </TD>
93 <TD>&nbsp;</TD>
94</TR>
95<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
96 <TD VALIGN="TOP" WIDTH="25%">
97 <A NAME="android.support.design.widget.Snackbar.getDuration_changed()"></A>
98 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#getDuration()" target="_top"><code>getDuration</code></A>() </nobr>
99 </TD>
100 <TD VALIGN="TOP" WIDTH="30%">
101Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#getDuration()" target="_top"><code>BaseTransientBottomBar</code></a>.
102 </TD>
103 <TD>&nbsp;</TD>
104</TR>
105<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
106 <TD VALIGN="TOP" WIDTH="25%">
107 <A NAME="android.support.design.widget.Snackbar.getView_changed()"></A>
108 <nobr><code>View</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#getView()" target="_top"><code>getView</code></A>() </nobr>
109 </TD>
110 <TD VALIGN="TOP" WIDTH="30%">
111Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#getView()" target="_top"><code>BaseTransientBottomBar</code></a>.
112 </TD>
113 <TD>&nbsp;</TD>
114</TR>
115<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
116 <TD VALIGN="TOP" WIDTH="25%">
117 <A NAME="android.support.design.widget.Snackbar.isShown_changed()"></A>
118 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#isShown()" target="_top"><code>isShown</code></A>() </nobr>
119 </TD>
120 <TD VALIGN="TOP" WIDTH="30%">
121Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#isShown()" target="_top"><code>BaseTransientBottomBar</code></a>.
122 </TD>
123 <TD>&nbsp;</TD>
124</TR>
125<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
126 <TD VALIGN="TOP" WIDTH="25%">
127 <A NAME="android.support.design.widget.Snackbar.isShownOrQueued_changed()"></A>
128 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#isShownOrQueued()" target="_top"><code>isShownOrQueued</code></A>() </nobr>
129 </TD>
130 <TD VALIGN="TOP" WIDTH="30%">
131Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#isShownOrQueued()" target="_top"><code>BaseTransientBottomBar</code></a>.
132 </TD>
133 <TD>&nbsp;</TD>
134</TR>
135<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
136 <TD VALIGN="TOP" WIDTH="25%">
137 <A NAME="android.support.design.widget.Snackbar.setCallback_changed(android.support.design.widget.Snackbar.Callback)"></A>
138 <nobr><code>Snackbar</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/Snackbar.html#setCallback(android.support.design.widget.Snackbar.Callback)" target="_top"><code>setCallback</code></A>(<code>Callback</code>) </nobr>
139 </TD>
140 <TD VALIGN="TOP" WIDTH="30%">
141<b>Now deprecated</b>.<br>
142 </TD>
143 <TD>&nbsp;</TD>
144</TR>
145<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
146 <TD VALIGN="TOP" WIDTH="25%">
147 <A NAME="android.support.design.widget.Snackbar.setDuration_changed(int)"></A>
148 <nobr><code>B</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#setDuration(int)" target="_top"><code>setDuration</code></A>(<code>int</code>) </nobr>
149 </TD>
150 <TD VALIGN="TOP" WIDTH="30%">
151Change in return type from <code>Snackbar</code> to <code>B</code>.<br>
152 Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#setDuration(int)" target="_top"><code>BaseTransientBottomBar</code></a>.
153 </TD>
154 <TD>&nbsp;</TD>
155</TR>
156<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
157 <TD VALIGN="TOP" WIDTH="25%">
158 <A NAME="android.support.design.widget.Snackbar.show_changed()"></A>
159 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#show()" target="_top"><code>show</code></A>() </nobr>
160 </TD>
161 <TD VALIGN="TOP" WIDTH="30%">
162Method was locally defined, but is now inherited from <a href="../../../../reference/android/support/design/widget/BaseTransientBottomBar.html#show()" target="_top"><code>BaseTransientBottomBar</code></a>.
163 </TD>
164 <TD>&nbsp;</TD>
165</TR>
166</TABLE>
167&nbsp;
168<a NAME="fields"></a>
169 </div>
170 <div id="footer">
171 <div id="copyright">
172 Except as noted, this content is licensed under
173 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
174 For details and restrictions, see the <a href="/license.html">Content License</a>.
175 </div>
176 <div id="footerlinks">
177 <p>
178 <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
179 <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
180 <a href="http://www.android.com/branding.html">Brand Guidelines</a>
181 </p>
182 </div>
183 </div> <!-- end footer -->
184 </div><!-- end doc-content -->
185 </div> <!-- end body-content -->
186<script src="http://www.google-analytics.com/ga.js" type="text/javascript">
187</script>
188<script type="text/javascript">
189 try {
190 var pageTracker = _gat._getTracker("UA-5831155-1");
191 pageTracker._setAllowAnchor(true);
192 pageTracker._initData();
193 pageTracker._trackPageview();
194 } catch(e) {}
195</script>
196</BODY>
197</HTML>