This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We can select any othe of the following theme mode to work with | |
1. AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM | |
This mode is used when we need to select the system assigned mode | |
2. AppCompatDelegate.MODE_NIGHT_NO | |
This mode is used when we need to set the Light mode in the app | |
3. AppCompatDelegate.MODE_NIGHT_YES | |
This mode is used when we need to set the Dark mode in the app | |
and to set the theme we need to add one of the above in following method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created By: Rakshit Nawani | |
* Date: January 18 2020 | |
* | |
* BaseRecyclerViewAdapter can be used as a base class for all the Recycler View's Adapter, it contains all the basic functions needed by the user, like | |
* 1. Add Item | |
* 2. Update Item | |
* 3. Add List | |
* 4. Remove Item | |
* and many more according to needs. |