I hereby claim:
- I am novembergave on github.
- I am teresang (https://keybase.io/teresang) on keybase.
- I have a public key ASDZyAMXxXA9PQ2amaS9iwqLz7O6oYxoTFRmIxn2rKfQ_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
public class MorseAdapter extends RecyclerView.Adapter<MorseViewHolder> { | |
private List<MorseCharacter> feedModels = new ArrayList<>(); | |
private final MorseClickListener clickListener; | |
@Override | |
public MorseViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { | |
View transactionsView = LayoutInflater.from(parent.getContext()) | |
.inflate(R.layout.list_item, parent, false); | |
return new MorseViewHolder(transactionsView); |
class MorseAdapter(private val feedModels: List<MorseCharacter>, private val clickListener: (MorseCharacter) -> Unit) : RecyclerView.Adapter<MorseViewHolder>() { | |
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MorseViewHolder { | |
val transactionsView = LayoutInflater.from(parent.context) | |
.inflate(R.layout.list_item, parent, false) | |
return MorseViewHolder(transactionsView) | |
} | |
override fun onBindViewHolder(holder: MorseViewHolder, position: Int) { | |
holder.bindTo(feedModels[position], clickListener) |
<?xml version="1.0" encoding="utf-8"?> | |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.novembergave.apps.mocktwitter.MainActivity"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" |
package com.novembergave.apps.learnhiragana; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.MotionEvent; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.inputmethod.InputMethodManager; |
package com.novembergave.apps.volleyballscorecounter; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.TextView; | |
public class MainActivity extends AppCompatActivity { |
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/white" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> |
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/activity_main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.example.android.udacitycard.MainActivity"> | |
<ImageView | |
android:layout_width="match_parent" |
package com.example.android.japanautumntrip2016; | |
import android.content.Context; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentPagerAdapter; | |
/** | |
* Created by novembergave on 21/12/2016. | |
*/ |
This Android Quiz app is my attempt at the Project given in the Android Basics: User Interface course. Because I didn't pay to access the Nanodegree offered by Udacity, I don't get my work graded, but it's ok, I can blog about it anyway! Blogpost explaining my approach along with some screenshots can be found here: https://novembergave.wordpress.com/2016/12/22/my-first-app-android-christmas-app/