All Projects → Tlaster → NestedScrollView

Tlaster / NestedScrollView

Licence: MIT license
NestedScrollView for Jetpack Compose

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to NestedScrollView

ThinkRchive
An app showing all details for various Lenovo Thinkpad models. Made to try out Jepack Compose for Android.
Stars: ✭ 84 (+47.37%)
Mutual labels:  jetpack-android, jetpack-compose
OtakuWorld
Anime Watcher, Manga Reader, and Novel Reader as three separate apps, same UI
Stars: ✭ 123 (+115.79%)
Mutual labels:  jetpack-android, jetpack-compose
RocketXDelight-Playground
Native Android application built with Kotlin and Jetpack Compose. This project also illustrates the usage of advanced libraries such as Ktor, SqlDelight, Hilt, etc with the recommended practices and Unit Tests.
Stars: ✭ 37 (-35.09%)
Mutual labels:  jetpack-android, jetpack-compose
Einsen
🎯 Einsen is a prioritization app that uses Eisenhower matrix technique as workflow to prioritize a list of tasks & built to Demonstrate use of Jetpack Compose with Modern Android Architecture Components & MVVM Architecture.
Stars: ✭ 821 (+1340.35%)
Mutual labels:  jetpack-android, jetpack-compose
CloudBook
👨🏻‍💻 An ordinary person’s technical cloud notes, share the world and record life.
Stars: ✭ 38 (-33.33%)
Mutual labels:  jetpack-android, jetpack-compose
ShaderShowcaseApp
A Jetpack Compose-based app to exhibit all the beautiful GLSL Fragment shaders I have ever written, where you can set them as Live Wallpaper.
Stars: ✭ 173 (+203.51%)
Mutual labels:  jetpack-android, jetpack-compose
Capturable
🚀Jetpack Compose utility library for capturing Composable content and transforming it into Bitmap Image🖼️
Stars: ✭ 365 (+540.35%)
Mutual labels:  jetpack-android, jetpack-compose
Multi-Module-Nextflix-Composable
Includes jetpack compose, navigation, paging, hilt, retrofit, coil, coroutines, flow..
Stars: ✭ 195 (+242.11%)
Mutual labels:  jetpack-android, jetpack-compose
JetDelivery
JetDelivery is a sample food delivery app, built with Jetpack Compose
Stars: ✭ 198 (+247.37%)
Mutual labels:  jetpack-android, jetpack-compose
Compose-BreakingBad
🧪 ☠︎ Jetpack Compose - Breaking Bad ☢︎
Stars: ✭ 26 (-54.39%)
Mutual labels:  jetpack-android, jetpack-compose
ComposeNotes
Notes app with full jetpack compose architecture (UI + navigation). Uses MVVM, Room, Kotlin Flows & LiveData
Stars: ✭ 32 (-43.86%)
Mutual labels:  jetpack-android, jetpack-compose
JetExample
Jetpack Compose UI components examples
Stars: ✭ 192 (+236.84%)
Mutual labels:  jetpack-android, jetpack-compose
GitReposCompose
GitReposCompose is an Android application 📱 for showcasing Jetpack Compose for building declarative UI in Android. This demo app uses Github public API for fetching public repositories.
Stars: ✭ 32 (-43.86%)
Mutual labels:  jetpack-android, jetpack-compose
Paper
A minimal notes application in Jetpack Compose with MVVM architecture. Built with components like DataStore, Coroutines, ViewModel, LiveData, Room, Navigation-Compose, Coil, koin etc.
Stars: ✭ 122 (+114.04%)
Mutual labels:  jetpack-android, jetpack-compose
Compose-ToDo
A fully functional Android TODO app built entirely with Kotlin and Jetpack Compose
Stars: ✭ 130 (+128.07%)
Mutual labels:  jetpack-android, jetpack-compose
bitcoin-market-android
Bitcoin Market app shows you the current Bitcoin market price and price chart of different time intervals 💰
Stars: ✭ 284 (+398.25%)
Mutual labels:  jetpack-android, jetpack-compose
Awesome-Android-Open-Source-Projects
👓 A curated list of awesome android projects by open-source contributors.
Stars: ✭ 401 (+603.51%)
Mutual labels:  jetpack-android, jetpack-compose
PlantShopUI-Android
Check out the new style for App Design aims for the Online Plant Shop Service using jetpack compose...😉😀😁😎
Stars: ✭ 29 (-49.12%)
Mutual labels:  jetpack-android, jetpack-compose
PlayWeather
🔥🔥🔥 Compose、Lce、MVVM、深色模式、横屏、无网弱网适配、Room、Hilt、多语言切换,目前Android最新的库基本全用上了,你想要的都有🔥🔥🔥
Stars: ✭ 120 (+110.53%)
Mutual labels:  jetpack-android, jetpack-compose
Compose-Settings
Android #JetpackCompose Settings library
Stars: ✭ 188 (+229.82%)
Mutual labels:  jetpack-android, jetpack-compose

NestedScrollView

Let you have NestedScrollView in Jetpack Compose

Usage

Add Jitpack

maven { url 'https://jitpack.io' }

Add the dependency

implementation "com.github.Tlaster:NestedScrollView:$version_nestedscrollview"

Example

val nestedScrollViewState = rememberNestedScrollViewState()
VerticalNestedScrollView(
    state = nestedScrollViewState,
    header = {
        Surface(
            modifier = Modifier
                .fillMaxWidth(),
            color = MaterialTheme.colors.primary,
        ) {
            Column(
                modifier = Modifier.padding(16.dp)
            ) {
                Text(text = "This is some awesome title")
            }
        }
    },
    content = {
        val pagerState = rememberPagerState(pageCount = 10)
        val pages = (0..4).map { it }
        Column {
            TabRow(
                selectedTabIndex = pagerState.currentPage,
                indicator = { tabPositions ->
                    TabRowDefaults.Indicator(
                        Modifier.pagerTabIndicatorOffset(pagerState, tabPositions)
                    )
                }
            ) {
                pages.forEachIndexed { index, title ->
                    Tab(
                        text = { Text(text = "tab $title") },
                        selected = pagerState.currentPage == index,
                        onClick = {}
                    )
                }
            }
            HorizontalPager(
                modifier = Modifier.weight(1f),
                state = pagerState
            ) {
                LazyColumn {
                    items(100) {
                        ListItem {
                            Text(text = "item $it")
                        }
                    }
                }
            }
        }
    }
)

License

MIT License

Copyright (c) 2021 Tlaster

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].