File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
misc/src/main/java/com/example/snippets Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1010import android .os .Bundle ;
1111import android .view .View ;
1212import android .widget .Button ;
13+
1314import androidx .annotation .NonNull ;
1415import androidx .annotation .Nullable ;
1516import androidx .annotation .OptIn ;
3637import androidx .window .java .embedding .SplitControllerCallbackAdapter ;
3738import androidx .window .layout .FoldingFeature ;
3839import androidx .window .layout .WindowMetrics ;
40+
3941import java .util .Collections ;
4042import java .util .HashSet ;
4143import java .util .List ;
Original file line number Diff line number Diff line change @@ -276,7 +276,9 @@ class ActivityEmbeddingKotlinSnippets {
276276 /* *
277277 * Function used by snippet.
278278 */
279- fun classForItem (item : Int ): Class <* > { return Class ::class .java }
279+ fun classForItem (item : Int ): Class <* > {
280+ return Class ::class .java
281+ }
280282
281283 // [START android_activity_embedding_MenuActivity_class_kotlin]
282284 inner class MenuActivity : AppCompatActivity () {
You can’t perform that action at this time.
0 commit comments