Skip to content

Commit

Permalink
Release 1.0.15 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
chander-stripe authored Apr 6, 2020
1 parent 1a317d5 commit 1c7d2b0
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.0.15 - 2020-04-06
- Fix [issue 99](https://github.com/stripe/stripe-terminal-android/issues/99)
- Fix [issue 103](https://github.com/stripe/stripe-terminal-android/issues/103)
- Fix EventFragment in Java example app showing empty screen
- Fix UpdateReaderFragment in Java example app showing empty screen

## 1.0.14 - 2020-03-27
- Fix [bug](https://github.com/stripe/stripe-terminal-android/issues/73) where Android Studio cannot find `stripeterminal` classes

Expand Down
2 changes: 1 addition & 1 deletion Example/javaapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ext {
okhttp_version = '4.4.1'
retrofit_version = '2.7.2'
stetho_version = '1.5.1'
stripeTerminalVersion = '1.0.14'
stripeTerminalVersion = '1.0.15'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.stripe.example.javaapp.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.core.content.ContextCompat;
Expand Down Expand Up @@ -45,6 +47,16 @@ public void onCreate(@Nullable Bundle bundle) {
}
}

@Override
@Nullable
public View onCreateView(
@NotNull LayoutInflater inflater,
@Nullable ViewGroup container,
@Nullable Bundle savedInstanceState
) {
return inflater.inflate(R.layout.fragment_update_reader, container, false);
}

@Override
public void onViewCreated(@NotNull View view, @Nullable Bundle savedInstanceState) {
// Cancel update on button click
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ public void onBindViewHolder(@NotNull EventHolder holder, int position) {
@Override
public EventHolder onCreateViewHolder(@NotNull ViewGroup parent, int viewType) {
return new EventHolder(
LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_event, parent));
LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_event, parent, false));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.core.content.ContextCompat;
Expand Down Expand Up @@ -183,6 +185,15 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
}
}

@Nullable
public View onCreateView(
@NotNull LayoutInflater inflater,
@Nullable ViewGroup container,
@Nullable Bundle savedInstanceState
) {
return inflater.inflate(R.layout.fragment_event, container, false);
}

@Override
public void onViewCreated(@NotNull View view, @Nullable Bundle savedInstanceState) {
eventRecyclerView = view.findViewById(R.id.event_recycler_view);
Expand Down
2 changes: 1 addition & 1 deletion Example/kotlinapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ext {
okhttp_version = '4.4.1'
retrofit_version = '2.7.2'
stetho_version = '1.5.1'
stripeTerminalVersion = '1.0.14'
stripeTerminalVersion = '1.0.15'
}

dependencies {
Expand Down

0 comments on commit 1c7d2b0

Please sign in to comment.