This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
implementation(libs.androidx.appCompat) | |
implementation(libs.androidx.coreKtx) | |
... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enableFeaturePreview("VERSION_CATALOGS") | |
include(":app") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enableFeaturePreview("VERSION_CATALOGS") | |
dependencyResolutionManagement { | |
@Suppress("UnstableApiUsage") | |
versionCatalogs { | |
create("libs") { | |
from(files("../gradle/libs.versions.toml")) | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[versions] | |
gradle = "7.0.1" | |
kotlin = "1.4.32" | |
appCompat = "1.3.0-rc01" | |
coreKtx = "1.6.0-alpha02" | |
constraintLayout = "2.1.0-beta01" | |
[libraries] | |
androidx-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "appCompat" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
implementation(Dependencies.AndroidX.appCompat) | |
implementation(Dependencies.AndroidX.coreKtx) | |
implementation(Dependencies.AndroidX.constraintLayout) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Dependencies { | |
const val timber = "com.jakewharton.timber:timber:${DependencyVersions.timber}" | |
object AndroidX { | |
const val appCompat = "androidx.appcompat:appcompat:${DependencyVersions.appCompat}" | |
const val coreKtx = "androidx.core:core-ktx:${DependencyVersions.coreKtx}" | |
const val constraintLayout = "androidx.constraintlayout:constraintlayout:${DependencyVersions.constraintLayout}" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<Transition | |
app:constraintSetEnd="@id/collapsed" | |
app:constraintSetStart="@id/expanded"> | |
<OnSwipe | |
app:dragDirection="dragUp" | |
app:touchAnchorId="@id/recycler_view_tweets" | |
app:touchAnchorSide="top" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<Transition | |
app:constraintSetEnd="@id/collapsed" | |
app:constraintSetStart="@id/expanded"> | |
<OnSwipe | |
app:dragDirection="dragUp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<Transition | |
app:constraintSetEnd="@id/collapsed" | |
app:constraintSetStart="@id/expanded"> | |
<OnSwipe | |
app:dragDirection="dragUp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<Transition | |
app:constraintSetEnd="@id/collapsed" | |
app:constraintSetStart="@id/expanded"> | |
<OnSwipe | |
app:dragDirection="dragUp" |
NewerOlder