From 765ac1dd2d67b2d83803b5506034c083927de55c Mon Sep 17 00:00:00 2001 From: Naiki00 Date: Thu, 7 Jan 2021 22:42:56 +0100 Subject: [PATCH] Dodanie klasy Note --- .../java/com/example/notatkon/note/Note.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/src/main/java/com/example/notatkon/note/Note.java diff --git a/app/src/main/java/com/example/notatkon/note/Note.java b/app/src/main/java/com/example/notatkon/note/Note.java new file mode 100644 index 0000000..af7aab3 --- /dev/null +++ b/app/src/main/java/com/example/notatkon/note/Note.java @@ -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; + } +} \ No newline at end of file