Автор использует аннотацию OptIn, чтобы избежать случайного вызова метода, который находится под Feature-флагом
#android #annotation #optin
https://medium.com/@takahirom/use-kotlin-optin-annotation-for-safe-release-in-trunk-based-development-72b2d8923538
#android #annotation #optin
https://medium.com/@takahirom/use-kotlin-optin-annotation-for-safe-release-in-trunk-based-development-72b2d8923538
Medium
Use Kotlin OptIn annotation for safe release in trunk-based development
It is common to use Feature Flag to control the features under development and put them into the master branch when you are developing.