Eray Bartan Blog

Eray Bartan Blog

December 2017 Android Code Trials

December 2017 Android Code Trials

Subscribe to my newsletter and never miss my upcoming articles

I encountered it while cleaning on GitHub. I wouldn't have guessed it would come to this place.

package business.bodrum.yalikavak.yalkavakbodrum;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.util.Log;
import android.widget.LinearLayout;
import android.widget.TextView;

import java.util.ArrayList;

public class Konaklama extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_konaklama);


        ArrayList<String> hoteller = new ArrayList<String>();
        hoteller.add("Onur Hotel");
        hoteller.add("Yüksel Butik Hotel");
        hoteller.add("Panormus Hotel");
        hoteller.add("Ali Baba Hotel");
        hoteller.add("Marina Apartment");


        LinearLayout rootView = (LinearLayout) findViewById(R.id.rootView);
        TextView wordView = new TextView(this);
        wordView.setText(hoteller.get(0));
        rootView.addView(wordView);



    }
}
#code#android#android-app-development
 
Share this

Impressum

Technical Specialties

  • Neo4j Graph Database Beginner Developer
  • Google Data Studio Dashboard Design
  • Micosoft Power BI Dashboard Design

Industry Experience

  • Municiapilty (IT Department, Data Analyst)
  • Real Estate (Web Design, Social Media Publisher, Mailchimp Automation)
  • Hotels & Restaurants (Web Design, Google Ads , Facebook Ads)
  • Sports (Web Design, Mailchimp Campaign)
Proudly part of