#目標:認証付きTodoアプリ作成 とりあえず作ってみよう
##プロジェクトの作成
$rails new Todo
$cd Todo
##トップページの作成 トップコントローラとindexのビューを生成する。
/* | |
* Copyright 2015 Johannes Homeier | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.util.AttributeSet; | |
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.view.View; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.Canvas; |
#目標:認証付きTodoアプリ作成 とりあえず作ってみよう
##プロジェクトの作成
$rails new Todo
$cd Todo
##トップページの作成 トップコントローラとindexのビューを生成する。
import java.lang.ref.WeakReference; | |
import java.lang.reflect.Field; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.util.AttributeSet; | |
import android.webkit.WebView; | |
import android.webkit.WebViewClient; |
// Copyright 2012 Pierre-Yves Ricau | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
// use this file except in compliance with the License. You may obtain a copy of | |
// the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |