+ 1

Android Development

Whether it's an application or a user, how does blocking technology work?

1st Jan 2025, 4:16 PM
DK1603
DK1603 - avatar
1 Answer
+ 1
if you have more choices, possible the best way is to use ENUM, and set there a BOOLEAN. but it depends on a language, library/framework, for instance: in Laravel: # inside app/Model/ protected $fillable = []; protected $hidden = []; in java/kotlin you have similar things, but there you have 4 visibility modifiers: java: [default, private, protected, public] kotlin: [private, protected, internal, public] you have to know what visibility modifiers means + how enum and boolean work
2nd Jan 2025, 11:16 AM
Mihaly Nyilas
Mihaly Nyilas - avatar