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 10
10
import android .os .Bundle ;
11
11
import android .view .View ;
12
12
import android .widget .Button ;
13
+
13
14
import androidx .annotation .NonNull ;
14
15
import androidx .annotation .Nullable ;
15
16
import androidx .annotation .OptIn ;
36
37
import androidx .window .java .embedding .SplitControllerCallbackAdapter ;
37
38
import androidx .window .layout .FoldingFeature ;
38
39
import androidx .window .layout .WindowMetrics ;
40
+
39
41
import java .util .Collections ;
40
42
import java .util .HashSet ;
41
43
import java .util .List ;
Original file line number Diff line number Diff line change @@ -276,7 +276,9 @@ class ActivityEmbeddingKotlinSnippets {
276
276
/* *
277
277
* Function used by snippet.
278
278
*/
279
- fun classForItem (item : Int ): Class <* > { return Class ::class .java }
279
+ fun classForItem (item : Int ): Class <* > {
280
+ return Class ::class .java
281
+ }
280
282
281
283
// [START android_activity_embedding_MenuActivity_class_kotlin]
282
284
inner class MenuActivity : AppCompatActivity () {
You can’t perform that action at this time.
0 commit comments