package com.naijab.nextzytimeline.utility;

import android.content.Context;
import android.support.annotation.NonNull;

import com.naijab.nextzytimeline.R;

public class StringUtility {

    @NonNull
    public static String getHomeString(Context context) {
        return context.getResources().getString(R.string.tab_home);
    }

    @NonNull
    public static String getAboutString(Context context) {
        return context.getResources().getString(R.string.tab_about);
    }

    @NonNull
    public static String getContactString(Context context) {
        return context.getResources().getString(R.string.tab_contact);
    }

    @NonNull
    public static String getSaveSuccess(Context context) {
        return context.getResources().getString(R.string.save_success);
    }

    @NonNull
    public static String getDeleteSuccess(Context context){
        return context.getResources().getString(R.string.delete_success);
    }

}

@@ -225,18 +225,19 @@
  get
-HomeString
+SaveSuccess
 (Con
@@ -313,164 +313,20 @@
 ing.
-tab_home);%0A    %7D%0A%0A    @NonNull%0A    public static String getAboutString(Context context) %7B%0A        return context.getResources().getString(R.string.tab_about
+save_success
 );%0A 
@@ -376,21 +376,17 @@
  get
-ContactString
+SaveError
 (Con
@@ -462,19 +462,18 @@
 ing.
-tab_contact
+save_error
 );%0A 
@@ -511,35 +511,37 @@
 tatic String get
-Sav
+Delet
 eSuccess(Context
@@ -541,33 +541,32 @@
 Context context)
- 
 %7B%0A        return
@@ -600,35 +600,37 @@
 String(R.string.
-sav
+delet
 e_success);%0A    
@@ -671,39 +671,37 @@
 String getDelete
-Success
+Error
 (Context context
@@ -759,35 +759,33 @@
 R.string.delete_
-success
+error
 );%0A    %7D%0A%0A%7D%0A

Add get String from resource