Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 10th, 2020 127 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class HospitalData {
  2.     private static int [] hospitalImages = {
  3.             R.drawable.rsup_kariadi,
  4.             R.drawable.rsup_soeradji,
  5.             R.drawable.rs_paru_ario,
  6.             R.drawable.rsud_kraton_pekalongan,
  7.             R.drawable.rsud_soeselo,
  8.             R.drawable.rsud_soewondo,
  9.             R.drawable.rsud_tidar,
  10.             R.drawable.rsud_moewardi,
  11.             R.drawable.rsud_banyumas,
  12.             R.drawable.rsud_loekmono
  13.     };
  14.  
  15.     private static String [] hospitalNames = {
  16.             "RSUP dr. Kariadi",
  17.             "RSUO dr. Soeradji Tirtonegoro",
  18.             "RS Paru Dr. Ario Wirawan",
  19.             "RSUD Kraton Kab. Pekalongan",
  20.             "RSUD Dr Soeselo Slawi",
  21.             "RSUD Dr. H. Soewondo",
  22.             "RSUD Tidar",
  23.             "RDUD dr. Moewardi",
  24.             "RSUD Banyumas",
  25.             "RSUD Dr. Loekmonohadi Kudus"
  26.     };
  27.  
  28.     private static String [] hospitalAddress = {
  29.             "Jl. Dr. Soetomo No.16, Semarang",
  30.             "Jl. KRT. Dr. Soeradji Tirtonegoro No.1, Klaten",
  31.             "Jl. Hasanudin No.806, Salatiga",
  32.             "Jl. Veteran No. 31, Pekalongan",
  33.             "Jl. Dr. Sutomo No.63, Tegal",
  34.             "Jl. Laut No.21, Kendal",
  35.             "Jl. Tidar No.30 A, Magelang",
  36.             "Jl. Kol. Sutarto No.132, Surakarta",
  37.             "Jl. Rumah Sakit No.1, Banyumas",
  38.             "Jl. Dr. Lukmonohadi No.19, Kudus"
  39.     };
  40.  
  41.     static ArrayList<Hospital> getListData(){
  42.         ArrayList<Hospital> list = new ArrayList<>();
  43.         for (int i = 0; i < hospitalNames.length; i++){
  44.             Hospital hospital = new Hospital();
  45.             hospital.setImage(hospitalImages[i]);
  46.             hospital.setName(hospitalNames[i]);
  47.             hospital.setAddress(hospitalAddress[i]);
  48.             list.add(hospital);
  49.         }
  50.         return list;
  51.     }
  52. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top