android-template
Project with various common components, to reduce "project setup" operations (by Skyyo)
samples
Jetpack Compose based project, used to stress-testing compose features / integrations and explore non-trivial functionality (by Skyyo)
android-template | samples | |
---|---|---|
7 | 11 | |
21 | 78 | |
- | - | |
7.2 | 0.0 | |
21 days ago | over 1 year ago | |
Kotlin | Kotlin | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
android-template
Posts with mentions or reviews of android-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-04.
- How to make an asynchronous network call but wait for the result on a class's overriden method.
-
Single Activity Arch with bottom nav bar
maybe this example will help you with understanding better. It does exactly what you want using listener which is invoked whenever fragment is changed, and arguments (passed from navigation graph unless conditions are needed)
-
Jetpack compose routing with bottom navigation bar and standalone full screen pages
Fragment based
-
How to properly handle conditional navigation with dynamic starting destination whhen using navigation component?
Introducing - android template by u/skyyoo_
-
Template repository: fragment based & full compose
Wanted to share a template repository which I've been using extensively for past year or so. Who doesn't know how what's the benefit of a template project - you can find the description here. It's opinionated, but is very flexible I believe. It contains a bunch of branches for bottomNavigation, protoStore etc. It has CI setup using GitHub actions. Also there's some opinionated code style guides, and general code advices, mostly those which are really easy to miss unless you had recent experience with them, great memory or already have your checklist. Recently I've completely ditched the Groupie and started using compose inside fragments. Repository link: https://github.com/Skyyo/android-template
-
What is your step by step process when making your apps?
You might want to use templates. This will reduce the priject setup time drastically. This example covers typical combinations. Also some usefull code style (subjective) and general advices. https://github.com/Skyyo/android-template
-
A fragment -> auth flow-> bottom navigation w/ Navigation component/jetpack
you might find this example interesting
samples
Posts with mentions or reviews of samples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-03.
-
I migrated my app from xml to compose 😄
regarding the LazyColumn/Row + IME issue. If that's it, then there is a workaround until the official fix is deployed. You can take a look at it here. It basically scrolls a little bit when focus is changed. Might fit your needs as well
-
What's the best/easiest way to use a bottom sheet for mobile and a modal for tablets with Jetpack Navigation?
you can find 3 options here https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/bottomSheets
-
Seamless video playback like in TikTok or Youtube Shorts
Hi, I was playing around with achieving exactly that, but have an issue - buffering happens even on pre-cached videos. In short - I use single ExoPlayer instance, and single playerView/surfaceView at a time. Would like to decrease buffering time from 100-200ms to 0. Hope someone here has relevant experience and might help answering the questions: 1) Do you absolutely must use 2 instances of ExoPlayer to achieve this? We can always assume which video will be next to play, thus we can send the "likely to be played video URL" to the non-playing player, so this definitely looks doable. Though there might be issue with this as well, didn't try it yet. Also would it make sense to pre-cache videos with this approach? I guess it would help, but wound't be mandatory. 2) Can anyone confirm that TikTok & Youtube Shorts use .mp4 format instead of adaptive streams? If yes, then are there any advantages for .mp4 for this type of feature, except the fact that pre-caching HLS videos might be a redundant job, if internet conditions change before playback happens? Link to the code folder. Link to ExoPlayer initialisation. Link to pre-caching mechanism for HLS videos. Video shows how it looks right now. The delay before video starts playing is basically time spent from Player.STATE_BUFFERING to Player.STATE_READY .
-
How do I navigate to bottom sheets in compose and then get a callback for a button click?
You can find an example here
-
Jetpack compose routing with bottom navigation bar and standalone full screen pages
Full compose
-
Compose bottom nav with nested graphs
this should help
-
Can anyone suggest me some good repos on GitHub. I want to contribute to open source more. Currently I am contributing to Oppia-Android. I am so targeting for GSoC. Any recommendations are appreciated.
if you're interested in Jetpack Compose - https://github.com/Skyyo/samples . It's a project with various samples in Compose. There is a quite big list inside the readme section, labeled TODO. Might find something that you want to do and contribute.
-
Template repository: fragment based & full compose
yes, you can find the example usages here https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/navigateWithResult
-
Video playback in LazyColumn in Jetpack Compose
Hey, I've found that there aren't any good articles on playing videos in columns for Jetpack Compose, so decided to share my recent experience with it here: https://proandroiddev.com/video-playback-in-lazycolumn-in-jetpack-compose-df355097f26e Links to the repositories: https://github.com/Skyyo/compose-video-playback https://github.com/Skyyo/samples/tree/master/app/src/main/java/com/skyyo/samples/features/exoPlayer/columnAutoplay
-
Using Jetpack Compose in production
totally doable, just be careful with ditching fragments yet. Also keep in mind that you will use android views still, for cases such as google maps, camera X, sceneform related things any many others. Certain things are not achievable in compose yet, so be prepared to analyse the design and choose whether it will be XML or compose. For most cases - compose covers you. Also there is a small overhead when adding compose to existing project, don't exactly remember the details since it's not a deal breaker, but you can google it, I believe it was a medium article. A'm working on a non-trivial things in compose ( subjective of course ), so this project with samples might be useful for you. It also includes a readme file, which has current limitations & issues described. ( those, that affect me directly, there are way more of such points)
What are some alternatives?
When comparing android-template and samples you can also consider the following projects:
Jetpack-Navigation-Multistack-Example - [DEMO] An example using Jetpack Navigation and bottom nav multi-stack using child fragments.
D_Note - Simple & Light Weight Notes App
music-player - Music player written with jetpack compose
codelab-android-paging - Jetpack Paging codelab
android-compose-template - Project with various common components, to reduce "project setup" operations
simple-stack-ftue-sample - [DEMO] Sample code to display "First-Time User Experience" in a Single-Activity app using Simple-Stack, based on the "Conditional Navigation" section by Google.
kotlin-android-template - Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️
android-template vs Jetpack-Navigation-Multistack-Example
samples vs D_Note
android-template vs music-player
samples vs codelab-android-paging
android-template vs android-compose-template
samples vs music-player
android-template vs simple-stack-ftue-sample
android-template vs kotlin-android-template