NonNull Annotation
suggest changepublic class Foo {
private String name;
public Foo(@NonNull String name){...};
...
}
Here @NonNull is annotation which is processed compile time by the android studio to warn you that the particular function needs non null parameter.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents