- 221
- 43 384
Rashid Saleem
Pakistan
เข้าร่วมเมื่อ 4 ธ.ค. 2012
Hi there,
I'm a Mobile App developer with 6+ year of experience in Mobile App Development. Love to develop Apps in Android Native with Jetpack Compose. And for Cross Plateform use Flutter these days.
I'm a Mobile App developer with 6+ year of experience in Mobile App Development. Love to develop Apps in Android Native with Jetpack Compose. And for Cross Plateform use Flutter these days.
02 HomeScreen Actions & UiState | Calculator App | MVI | Jetpack Compose| Android with Rashid Saleem
Below is the GitHub repository of this project to continue practice along the video.
**** Source Code on GitHub *****
Starter Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture02_initial
Final Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture02_final
Timecodes / Checkpoints
00:00 - Introduction
00:47 - Understanding possible actions from UI
02:14 - Define Actions with sealed class
06:23 - Trigger/Invoke Actions from UI
11:26 - Creating HomeUiState & Present UiState in Ui
15:29 - Code Refactoring to make it easy to read and understandable
LinkedInn : www.linkedin.com/in/mrashidit
Instagram : mrashidcit
Facebook : rashid.saleem.547
**** Source Code on GitHub *****
Starter Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture02_initial
Final Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture02_final
Timecodes / Checkpoints
00:00 - Introduction
00:47 - Understanding possible actions from UI
02:14 - Define Actions with sealed class
06:23 - Trigger/Invoke Actions from UI
11:26 - Creating HomeUiState & Present UiState in Ui
15:29 - Code Refactoring to make it easy to read and understandable
LinkedInn : www.linkedin.com/in/mrashidit
Instagram : mrashidcit
Facebook : rashid.saleem.547
มุมมอง: 13
วีดีโอ
01 HomeScreen | Calculator App | MVVM | MVI | Jetpack Compose | Android with Rashid Saleem
มุมมอง 2812 ชั่วโมงที่ผ่านมา
Below is the GitHub repository of this project to continue practice along the video. Source Code on GitHub Starter Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture01_initial Final Code : github.com/mrashidcit/ComposeCalculatorApp/tree/lecture01_final Timecodes / Checkpoints 00:00 - Intro & Initial setup 02:10 - Understanding UI of HomeScreen 03:23 - Buttons Container 20:08 - Text ...
28 Run All the Automated Tests | Dagger Hilt | Notes App | Jetpack Compose | Android with Rashid
มุมมอง 31วันที่ผ่านมา
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
27 Delete Note End-to-End Test | Dagger Hilt | Notes App | Jetpack Compose | Android with Rashid
มุมมอง 11714 วันที่ผ่านมา
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
26 Edit Existing Note End-to-End Test | Dagger Hilt | Notes App | Jetpack Compose | Android Rashid
มุมมอง 5714 วันที่ผ่านมา
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
25 Add a new Note complete End-to-End Test | Dagger Hilt | Notes App | Jetpack Compose | Android
มุมมอง 7921 วันที่ผ่านมา
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
24 End-to-End Test for Add/Edit Note Screen | Dagger Hilt | Notes App | Jetpack Compose | Android
มุมมอง 16828 วันที่ผ่านมา
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
23 End-to-End Test for HomeScreen | Dagger Hilt | Notes App | Jetpack Compose | Android with Rashid
มุมมอง 73หลายเดือนก่อน
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
22 Integration Test of AddNoteViewModel | Dagger Hilt | Notes App | Jetpack Compose | Android
มุมมอง 35หลายเดือนก่อน
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
21 Integration Test of HomeViewModel | Dagger Hilt | Notes App | Jetpack Compose | Android | Rashid
มุมมอง 45หลายเดือนก่อน
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
20 Unit Test of AddNoteFeature Domain Layer | Dagger Hilt | Notes App | Jetpack Compose | Android
มุมมอง 39หลายเดือนก่อน
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
19 Unit Test of HomeFeature Domain Layer | Dagger Hilt | Notes App | Jetpack Compose | MVI| Android
มุมมอง 61หลายเดือนก่อน
This Notes App made in Android Jetpack Compose provide leverage to understand how any beginner developer would create an app. You will learn this - As a beginner approach we won't follow the best practices - We understand what drawbacks are with current beginner approach. - Then we improve the architecture step by step Step 01 : Apply MVVM with Repository Pattern Step 02 : Integrate Room Step 0...
18 Unit Test Flows | Dagger Hilt | Notes App | Jetpack Compose |MVVM | MVI| Android
มุมมอง 612 หลายเดือนก่อน
18 Unit Test Flows | Dagger Hilt | Notes App | Jetpack Compose |MVVM | MVI| Android
17 Integration Tests for Repository | Dagger Hilt | Notes App | Jetpack Compose |MVVM | MVI| Android
มุมมอง 862 หลายเดือนก่อน
17 Integration Tests for Repository | Dagger Hilt | Notes App | Jetpack Compose |MVVM | MVI| Android
16 Why Dependency Injection | Dagger Hilt | DI | Notes App | Jetpack Compose | MVVM | MVI| Android
มุมมอง 872 หลายเดือนก่อน
16 Why Dependency Injection | Dagger Hilt | DI | Notes App | Jetpack Compose | MVVM | MVI| Android
15 Improving Domain Layer | Notes App | Jetpack Compose | MVVM | MVI| Android with Rashid Saleem
มุมมอง 392 หลายเดือนก่อน
15 Improving Domain Layer | Notes App | Jetpack Compose | MVVM | MVI| Android with Rashid Saleem
14 Automated Testing | Notes App | Jetpack Compose | MVVM | MVI| Android with Rashid Saleem
มุมมอง 652 หลายเดือนก่อน
14 Automated Testing | Notes App | Jetpack Compose | MVVM | MVI| Android with Rashid Saleem
13 Recap of What we have done at this level | Notes App | Jetpack Compose | MVVM | MVI| Android
มุมมอง 622 หลายเดือนก่อน
13 Recap of What we have done at this level | Notes App | Jetpack Compose | MVVM | MVI| Android
12 Migrating from MVVM to MVI Clean Architecture | Notes App | Jetpack Compose | MVVM | MVI| Android
มุมมอง 1472 หลายเดือนก่อน
12 Migrating from MVVM to MVI Clean Architecture | Notes App | Jetpack Compose | MVVM | MVI| Android
11 Migrating to Clean Architecture | Notes App | Jetpack Compose | MVVM | Android
มุมมอง 1593 หลายเดือนก่อน
11 Migrating to Clean Architecture | Notes App | Jetpack Compose | MVVM | Android
10 Room Integration | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1663 หลายเดือนก่อน
10 Room Integration | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
09 Delete Note | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1063 หลายเดือนก่อน
09 Delete Note | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
08 Improving Repository | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 904 หลายเดือนก่อน
08 Improving Repository | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
07 Passing List to Repository | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1134 หลายเดือนก่อน
07 Passing List to Repository | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
06 Navigation Pass Data | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1094 หลายเดือนก่อน
06 Navigation Pass Data | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
05 Navigation between Screen | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1174 หลายเดือนก่อน
05 Navigation between Screen | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
04 AddNote ViewModel | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1324 หลายเดือนก่อน
04 AddNote ViewModel | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
03 Add Note Screen UI | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 1235 หลายเดือนก่อน
03 Add Note Screen UI | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
02 Home Screen ViewModel | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 3605 หลายเดือนก่อน
02 Home Screen ViewModel | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
01 Main Screen UI | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
มุมมอง 6735 หลายเดือนก่อน
01 Main Screen UI | Notes App | Jetpack Compose | MVVM | Clean Architecture | Android
thanks
You’re awesome, MAN
Thanks man... I just completed jetpack compose essentials and diving now into ur videos..
12th...Thanks Rashid
4th...Thanks Rashid. Great tutorial ! There is still issue here, it is adding empty record.
Nice catch. Yes you are right about empty record. I forgot to apply that check. Thank you for mentioning.
You sale app with source code???
Sir it's offline
Great 👍
this video has really bad sound, i can hear you badly
Apologies for the sound. Please use HeadPhone/HandFree for this video. Thanks
Why dont we need to provide SavedStateHandle in AddNoteViewModel? Cant google any understandable information for now(
Why are you using sealed interface for actions and sealed classes for events? ive changed among themselves and it still works, and why cant we merge events to actions? Thanks!
Again you are right. Yes, there is no need to use sealed class for events. If we have any common values which are used in all child classes that in that case seal-class is a good choice. We cannot merge evens & actions in one sealed class. As our HomeAction have two child classes and we are expecting those events from UI. So in 'when' expression we can easily get all the possible cases by pressing 'alt+enter' key. As this is a Simple Project. Imagine if we have a enterprise level project and we have 20 Actions and 15 Events. And if we merge all these in one sealed class then we need to take care that all the actions should be handled in ViewModel.
Thanks for this great lecture. ive got two questions viewModelScope.launch(Dispatchers.IO) { val items = repository.getAll() delay(400) notesList.addAll(items) } i think i undestand why we need delay here, but is it good approach? will you upgrade it later? as i understand , id will be always -1 here, but its the architecture on this stage, i think ull improve it late fun NoteModel.toEntityModel(): NoteEntity{ return NoteEntity( id = if(id != -1) id else null, title = title, description = description ) many thanks)
Hello, you are going really great job, i have passed all lessons till 10 and they were great, I cant understand , what is the purpose for using annotationProcessor("androidx.room:room-compiler:$room_version"), it says, that it only needs for java
Thank you for reaching me. Yes, you are right. No need to mentioned that, Nice catch. Thank you for mentioning that point.
lo pongo en español gggg, estoy aprendiendo jetpack compose y estoy temas siii me van a servir 😊😊, gracias por el aporte
Hi, Hope you are well. Not able to understand your comment. Please share that message in English.
Great keep moving, keep growing, keep glowing 😊
make video on detailed explanation of clean architecture with mvvm, mvi with dagger, retrofit, room, livedata, glide.
Hopefully you'll get your answers in this. Check this playlist: th-cam.com/play/PLfknumr0xJpjbgL1Mfy0nlKOxkMbIA-Zh.html&si=vuetpieV3nu4tKP-
@@mrashidcit I'll try to watch this one
That's a Good Note App
mine is just blank i cant even see anything on the map
same
In a tutorial like this you should at least explain things not music we don't need
I have a problem with my android studio. I already installed flutter and the plugins but they are not apply. I see only (NEW PROJECT, OPEN, VCS)
Thanks for sharing informative video 🙂
Nice, keep it up bro
Please give me the contact number
can you BANG on the keyboard a little harder!!!! wtf man...worst tutorial I have ever seen..
بھائی اللہ کے واسطے ڈیلر کی پر کھول دو پلیز پلیز
پلیز
بھائی اللہ کے واسطے ٹریلر کیپر کھول دے پلیزپلیز
Alah
sir face an error while getting hashkey
Me after 30 mins: Finally bro made it😭
Waiting for next. Parts..
waiting for new video
assalamo alaikum sir kia ye app complete hai ?? with backend ?? on your channel videos full available hain ?
Does this package support subscriptions?
dur dur
total waste of time
Complete Waste of Time
man you spent 30 mins to run the app. At least cut the video
Alright, I'll make this better next time.
Very Helpful 😊
hello thanks for your effort.I have this problem during copy paste android package name .the proble is'' There was a problem verifying this package name. Please check and try again.''I have been tyring many different way but couldnt solve .Hope you help me .
Hi Said, Share the screenshot of the issues.
Thanks brother it help's a lot❤
thanks, how I enabled the button "pay with credit or debit card"
How to create Facebook login ?
Hi Mani, Thank you for Reaching me . Here is the Video to do Google & Facebook SignIn in Flutter. 1. th-cam.com/video/_vyPtzevy70/w-d-xo.html 2. th-cam.com/video/2_uHxP_QTvI/w-d-xo.html
Very good tutorial
Thank u sir,good video
very well explained 👍
I do all steps but i have a issue is back .. W/ActivityThread( 6593): handleWindowVisibility: no activity for token android.os.BinderProxy@c042550 D/libMEOW ( 6593): applied 1 plugins for [com.example.face]: D/libMEOW ( 6593): plugin 1: [libMEOW_gift.so]: V/PhoneWindow( 6593): DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@f9bd886[] D/ViewRootImpl[FacebookActivity]( 6593): hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false I/InputTransport( 6593): Create ARC handle: 0x77285c61c0 V/PhoneWindow( 6593): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@ca4a69d, this = DecorView@f9bd886[FacebookActivity] D/Surface ( 6593): Surface::connect(this=0x75f09e8000,api=1) D/mali_winsys( 6593): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/Surface ( 6593): Surface::setBufferCount(this=0x75f09e8000,bufferCount=3) D/Surface ( 6593): Surface::allocateBuffers(this=0x75f09e8000) I/Choreographer( 6593): Skipped 1 frames! The application may be doing too much work on its main thread. D/Intent ( 6593): disableDeathOnFileUriExposure com.facebook.katana I/Choreographer( 6593): Skipped 1 frames! The application may be doing too much work on its main thread. I/flutter ( 6593): LoginStatus.failed V/PhoneWindow( 6593): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@e0ae932, this = DecorView@c5eb683[MainActivity] V/PhoneWindow( 6593): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@ca4a69d, this = DecorView@f9bd886[FacebookActivity] D/Surface ( 6593): Surface::disconnect(this=0x75f09e8000,api=1) D/View ( 6593): [Warning] assignParent to null: this = DecorView@f9bd886[FacebookActivity] I/InputTransport( 6593): Destroy ARC handle: 0x77285c61c0 I/Choreographer( 6593): Skipped 3 frames! The application may be doing too much work on its main thread.
Impressive
for example if I try installing google play console and i do login it says that i don't have any developer account on my device
i cant figure out how to do it can you tell me ?