Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Advice for :activity:activity
Unused dependencies which should be removed:
implementation 'androidx.collection:collection:1.0.0'
Transitively used dependencies that should be declared directly as indicated:
api 'androidx.lifecycle:lifecycle-common:2.5.1'
implementation 'androidx.annotation:annotation-experimental:1.1.0'
Existing dependencies which should be modified to be as indicated:
implementation 'androidx.lifecycle:lifecycle-runtime:2.5.1' (was api)
@liutikas
liutikas / MainActivity.kt
Created March 22, 2021 23:23
Alerting hotdog menu icon
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@liutikas
liutikas / MainActivity.kt
Last active September 28, 2020 17:33
Compose Gray UI
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software