compose-samples VS sdk

Compare compose-samples vs sdk and see what are their differences.

compose-samples

Official Jetpack Compose samples. (by android)

sdk

The Dart SDK, including the VM, dart2js, core libraries, and more. (by dart-lang)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
compose-samples sdk
45 113
9,839 7,473
4.2% 1.7%
9.6 10.0
3 days ago 2 days ago
Kotlin Dart
Apache License 2.0 BSD 3-clause "New" or "Revised" 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.

compose-samples

Posts with mentions or reviews of compose-samples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-26.
  • Ask HN: Flutter vs. React Native โ€“ which one do you prefer?
    3 projects | news.ycombinator.com | 26 Nov 2021
  • Has anyone used the FoldingFeature.State class? Would like to know how to use it.
    1 project | reddit.com/r/AndroidStudio | 23 Nov 2021
    Oh, Iโ€™m sorry. I didnโ€™t realize you already looked at those. Those should go into a Window Size file. You can call it whatever, I called mine WindowSize and WindowUtil. These files should be written once and used on all your apps. So design them with that in mind. You can call them in your main Activity file or anywhere else you need it. Here is a good example of using the code in the documentation inside a news info App. This is their main activity file [theirs is written in kotlin, but can be translated into Java] https://github.com/android/compose-samples/blob/main/JetNews/app/src/main/java/com/example/jetnews/ui/MainActivity.kt And here is their window size class files -- https://github.com/android/compose-samples/blob/main/JetNews/app/src/main/java/com/example/jetnews/utils/WindowSize.kt https://github.com/android/compose-samples/blob/main/Jetcaster/app/src/main/java/com/example/jetcaster/util/WindowInfoUtil.kt You should also go into your manifest file and put - android:resizeableActivity="true" or false [depends on what you want resized] In the application or activity section depending on isolation of activity or not.. And here is a YT video with good points - always code for device unknown. That way it wouldnโ€™t matter the screen size, resolution, hardware config. Ext. -- It doesn't give much on syntax usage, but good insight info. Build apps for foldable, multi-display, and large-screen devices (Google I/O'19) https://youtu.be/8uQEzv3upy8 Considering you are just starting out and getting the hang of things. I would look at all their files in the App source code above and see how the classes and functions are being used. Download the source files and tear it apart. The best way of learning any coding language is looking at code and playing with it then going back to the documentation to further understand it. I hope this helps. Good luck.
  • Dipping my feet in SwiftUI
    1 project | dev.to | 18 Nov 2021
    There is also a similar framework for Android called Jetpack Compose which I will look into next. I have high hopes that these will be the future of native development.
  • Getting back into Android development after 3 years
    2 projects | reddit.com/r/androiddev | 12 Nov 2021
  • Hey guys basic java/android question (inside a react native app)
    1 project | reddit.com/r/androiddev | 28 Oct 2021
    Java still works for 99% of things, but Google officially declared Android development as "Kotlin-first" back in 2019 and it's definitely where the new/latest stuff happens. For example: Compose is Android's new declarative UI framework (similar to React) and it's Kotlin-only.
  • Android visual design, how to
    3 projects | reddit.com/r/androiddev | 6 Oct 2021
    The "new" way: Compose does everything in code via composable functions. You mentioned your background is in web development; Compose is very much like React for Android UI. It only recently reached version 1.0 so resources can be sparse, but it is very much the "future" of UI on Android.
  • Requesting best practices to remove lag on Jetpack compose Sectioned LazyColumn
    2 projects | reddit.com/r/androiddev | 30 Sep 2021
    One thing I noticed is that running on real device the UI is somewhat less laggy. I found JetNews Android Sample App which contained the use case similar to mine. I will try to make changes as per it specially moving the selection and deletion logic to suspend function as done in the example and let's see whether there will be any performance improvements.
  • Java vs Kotlin for a beginner
    1 project | reddit.com/r/androiddev | 14 Sep 2021
    Check out some demo apps with Jetpack Compose https://github.com/android/compose-samples. You could work on building them and launching them. You could also work on editing the code and adding/changing features. You should probably pair this with some intro to kotlin tutorials.
  • What are the core differences between Jetpack Compose and Flutter in terms of UI rendering?
    1 project | reddit.com/r/androiddev | 4 Sep 2021
  • auto-add xmlns boilerplate declarations for new layout?
    1 project | reddit.com/r/AndroidStudio | 4 Sep 2021
    Jetpack Compose ftw

sdk

Posts with mentions or reviews of sdk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-30.

What are some alternatives?

When comparing compose-samples and sdk you can also consider the following projects:

filament - Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

MPAndroidChart - A powerful ๐Ÿš€ Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

old-reddit-redirect - Ensure Reddit always loads the old design

MVICore - MVI framework with events, time-travel, and more

accompanist - A collection of extension libraries for Jetpack Compose

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

architecture-components-samples - Samples for Android Architecture Components.

dart-code-metrics - Software analytics tool that helps developers analyse and improve software quality.

githut - Github Language Statistics

starter_architecture_flutter_firebase - Starter Architecture Demo for Flutter & Firebase Realtime Apps