Dodanie klasy Note
This commit is contained in:
parent
17f7cbcfeb
commit
765ac1dd2d
24
app/src/main/java/com/example/notatkon/note/Note.java
Normal file
24
app/src/main/java/com/example/notatkon/note/Note.java
Normal file
@ -0,0 +1,24 @@
|
||||
package com.example.notatkon.note;
|
||||
|
||||
public class Note {
|
||||
private String Title;
|
||||
private String Content;
|
||||
|
||||
// automatyczne dane do tablicy
|
||||
private static String[] Titles = { "Title1" };
|
||||
|
||||
private static String[] Contents = { "Content1" };
|
||||
|
||||
//konstruktor
|
||||
public Note() {
|
||||
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return Title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return Content;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user