# Jetpack Compose by Tutorials

**URL:** https://forums.kodeco.com/c/books/jetpack-compose-by-tutorials/76.md

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

---

## [Errata for Jetpack Compose by Tutorials 2nd Edition](https://forums.kodeco.com/t/errata-for-jetpack-compose-by-tutorials-2nd-edition/185658)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 2\
**Last updated:** [April 23, 2023, 9:10pm UTC](https://forums.kodeco.com/t/errata-for-jetpack-compose-by-tutorials-2nd-edition/185658 "2023-04-23T21:10:31Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of Jetpack Compose by Tutorials.

---

## [Errata for Jetpack Compose by Tutorials, 1st Edition](https://forums.kodeco.com/t/errata-for-jetpack-compose-by-tutorials-1st-edition/132587)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 15\
**Last updated:** [December 8, 2022, 4:33pm UTC](https://forums.kodeco.com/t/errata-for-jetpack-compose-by-tutorials-1st-edition/132587 "2022-12-08T16:33:59Z")

</div>

Creating this topic to catch any typos and bugs in the First Edition of Jetpack Compose by Tutorials.

---

## [About the Jetpack Compose by Tutorials category](https://forums.kodeco.com/t/about-the-jetpack-compose-by-tutorials-category/132585)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0

</div>

This is the official forum for our book, Jetpack Compose by Tutorials, available here: https://www.raywenderlich.com/books/jetpack-compose-by-tutorials

---

## [Track visibility of Custom view in Compose](https://forums.kodeco.com/t/track-visibility-of-custom-view-in-compose/205337)

<div class="topic-metadata">

**Author:** [@dogsoldier85](https://forums.kodeco.com/u/dogsoldier85)\
**Replies:** 0\
**Last updated:** [July 7, 2024, 5:49am UTC](https://forums.kodeco.com/t/track-visibility-of-custom-view-in-compose/205337 "2024-07-07T05:49:57Z")

</div>

How i can track that view is more than 50 present on the viewPort when the screen build with Compose

---

## [Implement the viewmodel class in MainActivity](https://forums.kodeco.com/t/implement-the-viewmodel-class-in-mainactivity/204438)

<div class="topic-metadata">

**Author:** [@shaharweiss](https://forums.kodeco.com/u/shaharweiss)\
**Replies:** 0\
**Last updated:** [May 18, 2024, 8:02am UTC](https://forums.kodeco.com/t/implement-the-viewmodel-class-in-mainactivity/204438 "2024-05-18T08:02:19Z")

</div>

class CityViewModel : ViewModel() { private val \_cityData = MutableLiveData\<City\>() private val \_cities = CityDataProvider().getCities() private var \_currentIndex = 0 private val \_delay = 2000L ini…

---

## [Plugin \[id: 'com.android.application', version: '8.0', apply: false\] was not found in any of the following sources:](https://forums.kodeco.com/t/plugin-id-com-android-application-version-8-0-apply-false-was-not-found-in-any-of-the-following-sources/186045)

<div class="topic-metadata">

**Author:** [@jeremycorgan1](https://forums.kodeco.com/u/jeremycorgan1)\
**Replies:** 1\
**Last updated:** [April 20, 2023, 10:57pm UTC](https://forums.kodeco.com/t/plugin-id-com-android-application-version-8-0-apply-false-was-not-found-in-any-of-the-following-sources/186045 "2023-04-20T22:57:00Z")

</div>

I’m trying to run the starter project but came across this error. Any help would be appreciated. \[:

---

## [How to use multiple fonts in compose project](https://forums.kodeco.com/t/how-to-use-multiple-fonts-in-compose-project/182626)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 4:33pm UTC](https://forums.kodeco.com/t/how-to-use-multiple-fonts-in-compose-project/182626 "2023-04-17T16:33:50Z")

</div>

Hi, In my project I need to use two kinds of fonts as “robot family” and “sans-serief family” , I can add only one font in the material theme , but I need both added so I can use based on my need . How this can be achiev…

---

## [ Where to find the package in the github for lesson 14 on UI tests](https://forums.kodeco.com/t/where-to-find-the-package-in-the-github-for-lesson-14-on-ui-tests/186190)

<div class="topic-metadata">

**Author:** [@lex090](https://forums.kodeco.com/u/lex090)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 11:59am UTC](https://forums.kodeco.com/t/where-to-find-the-package-in-the-github-for-lesson-14-on-ui-tests/186190 "2023-04-12T11:59:04Z")

</div>

Where to find the package in the github for lesson 14 on UI tests?

---

## [Chapter 9 and 10 apps crashing with no error](https://forums.kodeco.com/t/chapter-9-and-10-apps-crashing-with-no-error/170442)

<div class="topic-metadata">

**Author:** [@artemitch](https://forums.kodeco.com/u/artemitch)\
**Replies:** 4\
**Last updated:** [September 23, 2022, 6:45pm UTC](https://forums.kodeco.com/t/chapter-9-and-10-apps-crashing-with-no-error/170442 "2022-09-23T18:45:09Z")

</div>

Midway through chapter 9, when implementing the ProfileInfo composable, the app started crashing straight after launch, occasionally saying the “JetReddit keeps stopping”. I put this down to me doing something wrong, but…

---

## [How can I show video stream using compose](https://forums.kodeco.com/t/how-can-i-show-video-stream-using-compose/175711)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 27, 2022, 5:21am UTC](https://forums.kodeco.com/t/how-can-i-show-video-stream-using-compose/175711 "2022-07-27T05:21:52Z")

</div>

Hi Everyone , I am in a need of showing users video in the app using compose UI , can. someone say how it can be acheived. Say I am getting the video stream from the ZOOM SDK and I need to render in the application. We …

---

## [Query on Bottom Navigation Actions](https://forums.kodeco.com/t/query-on-bottom-navigation-actions/175640)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 26, 2022, 5:09am UTC](https://forums.kodeco.com/t/query-on-bottom-navigation-actions/175640 "2022-07-26T05:09:57Z")

</div>

Hi All, I have a use case to be addressed in the compose Bottom Navigation view.Let me explain the use case, Say I have 4 menu as (Video, Mike, Home and Message) , these 4 menu have a purpose like Video - On Clicking …

---

## [How to stream a video in Compose](https://forums.kodeco.com/t/how-to-stream-a-video-in-compose/175097)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 6:47am UTC](https://forums.kodeco.com/t/how-to-stream-a-video-in-compose/175097 "2022-07-18T06:47:44Z")

</div>

Hi Everyone, i am developing a compose application where video view must be populated which will hold the stream of video from user (i.e) similar to a video call . I have used the zoom provider for the video stream . Kin…

---

## [Regarding Jetpack Bottom Navigation](https://forums.kodeco.com/t/regarding-jetpack-bottom-navigation/175094)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 3:50am UTC](https://forums.kodeco.com/t/regarding-jetpack-bottom-navigation/175094 "2022-07-18T03:50:46Z")

</div>

Hi everyone. I am working in android platform where i have a bottom navigation view which has 4 icons(video, Audio, chat and settings), In which one of the icon Audio has to be only toggle option say on tap the audio mu…

---

## [Gradle sync failed: Unable to load class 'com.android.build.api.extension.AndroidComponentsExtension'](https://forums.kodeco.com/t/gradle-sync-failed-unable-to-load-class-com-android-build-api-extension-androidcomponentsextension/165974)

<div class="topic-metadata">

**Author:** [@prenez01](https://forums.kodeco.com/u/prenez01)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 12:40pm UTC](https://forums.kodeco.com/t/gradle-sync-failed-unable-to-load-class-com-android-build-api-extension-androidcomponentsextension/165974 "2022-03-08T12:40:06Z")

</div>

when I try to load a lesson from jetpack compose tutorials, I get this error. Gradle sync failed: Unable to load class ‘com.android.build.api.extension.AndroidComponentsExtension’. Using Android Studio Bumblebee. Spent…

---

## [I have a duplicated book](https://forums.kodeco.com/t/i-have-a-duplicated-book/162557)

<div class="topic-metadata">

**Author:** [@messiaslima](https://forums.kodeco.com/u/messiaslima)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 8:16am UTC](https://forums.kodeco.com/t/i-have-a-duplicated-book/162557 "2022-01-19T08:16:34Z")

</div>

For some reason, I have 2 equal books on my book list. The first one is in version 1.1 and the second one is in version 1.0 (It shows me a warning when I open it). Is there a way to hide the old one? Sometimes I cli…

---

## [How to add and use third party git libraries in JetPack compose UI android](https://forums.kodeco.com/t/how-to-add-and-use-third-party-git-libraries-in-jetpack-compose-ui-android/146821)

<div class="topic-metadata">

**Author:** [@duks](https://forums.kodeco.com/u/duks)\
**Replies:** 2\
**Last updated:** [September 25, 2021, 6:58am UTC](https://forums.kodeco.com/t/how-to-add-and-use-third-party-git-libraries-in-jetpack-compose-ui-android/146821 "2021-09-25T06:58:51Z")

</div>

Tried adding the following steps but couldn’t use the third-party UI component in the jetpack, Add maven { url ‘https://jitpack.io’ } in build.gradle Add dependency in app.gradle Tried to use the component in UI

---

## [Jetpack Compose Performance](https://forums.kodeco.com/t/jetpack-compose-performance/143884)

<div class="topic-metadata">

**Author:** [@morcerfdumas](https://forums.kodeco.com/u/morcerfdumas)\
**Replies:** 1\
**Last updated:** [August 24, 2021, 10:07am UTC](https://forums.kodeco.com/t/jetpack-compose-performance/143884 "2021-08-24T10:07:41Z")

</div>

Hi all, I’m currently on the 8th chapter of this book and I had some questions about how performant Compose is. In the SaveNoteScreen, whenever the title or text or color of NoteModel is changed, we copy the previous in…

---

## [Build Problems for the v1.1 Code](https://forums.kodeco.com/t/build-problems-for-the-v1-1-code/141714)

<div class="topic-metadata">

**Author:** [@rahulek](https://forums.kodeco.com/u/rahulek)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 12:57pm UTC](https://forums.kodeco.com/t/build-problems-for-the-v1-1-code/141714 "2021-06-07T12:57:45Z")

</div>

I’m on Compose Beta 07 and using Gradle 7 Beta 2. Most code in V1.1 of the Compose Book does not build without modifications. Chap 12 (animations) really needs tons of changes. I simply gave up rather than spending so …

---

## [Already some method not found switching from alpha10 to beta01](https://forums.kodeco.com/t/already-some-method-not-found-switching-from-alpha10-to-beta01/134068)

<div class="topic-metadata">

**Author:** [@albertocappellina](https://forums.kodeco.com/u/albertocappellina)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 6:15am UTC](https://forums.kodeco.com/t/already-some-method-not-found-switching-from-alpha10-to-beta01/134068 "2021-06-07T06:15:23Z")

</div>

Hi, as stated there are some issue when moving from alpha10 to beta01 : some classes are not found (eg. LifecycleOwnerAmbient). I guess some update is needed. When will you update your repo, or at least some branches? …
