I'm trying to add alarm feature to my app or reminder with notification and I found a tutorial uses Alarmmanger for that but I wonder if is a new way is better for that, is workmanger good over alarmmanger? the function of the app gonna be like that:
https://developer.android.com/guide/background#recommended-solutions
Per your description, it seems you fall under:
Exact tasks
A task that needs to be executed at an exact point in time can use AlarmManager. To learn more about AlarmManager, see Schedule repeating alarms.