Skip to content

Commit

Permalink
All branches ready to pulish. Steps added to each demo
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitSurwase committed Jan 1, 2017
1 parent 34e46e5 commit 7035d0d
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 14 deletions.
2 changes: 2 additions & 0 deletions AutoReadSmsOtp/AutoReadSmsOtp.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Auto Read SMS or OTP with runtime-permission

* Steps:
* 1. Add Permissions to manifest
* * <uses-permission android:name="android.permission.READ_SMS" />
Expand Down
3 changes: 3 additions & 0 deletions NavigationDrawerInApp/NavigationDrawerInApp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Navigation Drawer throughout application.

This demo will be ready soon.
10 changes: 9 additions & 1 deletion PickAndCropImage/PickAndCropImage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
//Step 1. Add Gradle dependency to app-gradle.
This demo app show, how we can add image chooser with material UI
Image chooser will include all gallery and camera apps.
Best part is that we can also crop selected image using this demo code.
To crop image I have used "Android-Image-Cropper" by "ArthurHub" library.
* Library github link - "https://github.com/ArthurHub/Android-Image-Cropper"
//Step 1. Add Gradle dependency to app-gradle.
//Step 2. Add CropImageActivity to app-manifest
//Step 3. Add ImageUtilityHelper class in your project.
//Step 4. Create object of ImageUtilityHelper class.
44 changes: 31 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
AndroidDesignPatterns
Android Design Patterns

Collection of best code snippets to help everyone to simplify android app development.
Collection of best code snippets to help everyone to simplify Android App Development.

Basic idea of this project is to gather all the example of different topics at one place.
Basic idea of this repository is to gather all the example of different topics at one place.

Currently this collection includes
1. Different ways to show splash screen
2. Best and correct way to show splash screen.
3. Adding Navigation Drawer throughout the application
4. Swipeable tabs with TabLayout
5. Auto read SMS/OTP
6. Image Picker with camera and gallery options.

Demos which will be added soon
- Synchronised Local SQLite Database.
- Most effective way to use RecyclerView
- Activity Life Cycle Methods
- Fragment Life Cycle Methods

Sample for commenting functions/activities in this project
/**
* <b>functionName</b>
* <p>This function is used to ....</p>
* <p1>Created By - userName</p1>
*/


# /**
# * <b>functionName</b>
# * <p>This function is used to ....</p>
# * <p1>Created By - userName</p1>
# */
Ex.-
/**
* <b>private void showSplashScreen()</b>
* <p>This function is used to show splash screen</p>
* <p1>Created By - Rohitss</p1>
*/
# /**
# * <b>private void showSplashScreen()</b>
# * <p>This function is used to show splash screen</p>
# * <p1>Created By - Rohitss</p1>
# */
1 change: 1 addition & 0 deletions SplashScreenDemo1/SplashScreenDemo1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This demo shows different ways to show splash screen
3 changes: 3 additions & 0 deletions SplashScreenRightWay/SplashScreenRightWay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This demo shows the right way to show splash screen in application.

This way app don't need to load theme to show splash screen.

0 comments on commit 7035d0d

Please sign in to comment.