Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / views / MakeGroupActivity.java
k-morimoto on 25 Jun 2019 1 KB group作成画面のクラス追加
package com.example.cosmosclient.views;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.example.cosmosclient.R;
import com.example.cosmosclient.resources.UsersRest;

import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory;

public class MakeGroupActivity extends AppCompatActivity {

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

        EditText gruopNameText = findViewById(R.id.groupNameText);
        Button createGroupButton = findViewById(R.id.createGroupButton);
        String name,uId;


//        //retrofitの処理
//        final Retrofit retrofit = new Retrofit.Builder()
//                .baseUrl("http://nitta-lab-www.is.konan-u.ac.jp/cosmos/")
//                .addConverterFactory(JacksonConverterFactory.create())
//                .build();
//        //interfaceから実装を取得
//        final UsersRest signinService = retrofit.create(UsersRest.class);

        createGroupButton.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View view){

            }
        });








    }
}