File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
demo-playground/src/main/res/menu
androidTest/java/com/google/android/flexbox/test
main/java/com/google/android/flexbox Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Add the following dependency to your `build.gradle` file:
1010
1111```
1212dependencies {
13- implementation 'com.google.android:flexbox:1.1.0-beta1 '
13+ implementation 'com.google.android:flexbox:1.1.0'
1414}
1515```
1616
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ buildscript {
2222 targetSdkVersion = 28
2323 compileSdkVersion = 28
2424
25- androidGradlePluginVersion = " 3.2.0-beta04 "
25+ androidGradlePluginVersion = " 3.2.0"
2626 androidMavenGradlePluginVersion = " 1.5"
2727 androidxCoreVersion = " 1.0.0"
2828 androidxEspressoVersion = " 3.1.0-alpha4"
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ limitations under the License.
1515-->
1616<menu xmlns : android =" http://schemas.android.com/apk/res/android"
1717 xmlns : tools =" http://schemas.android.com/tools"
18+ xmlns : app =" http://schemas.android.com/apk/res-auto"
1819 tools : context =" com.google.android.flexbox.MainActivity" >
1920 <item
2021 android : id =" @+id/action_settings"
2122 android : title =" @string/action_settings"
2223 android : orderInCategory =" 100"
23- android : showAsAction =" never" />
24+ app : showAsAction =" never" />
2425</menu >
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ package com.google.android.flexbox.test
1818
1919import android.view.View
2020import android.widget.TextView
21+ import androidx.recyclerview.widget.RecyclerView
2122
2223/* *
2324 * ViewHolder implementation for a flex item for testing.
2425 */
25- internal class TestViewHolder (itemView : View ) : androidx.recyclerview.widget. RecyclerView.ViewHolder(itemView) {
26+ internal class TestViewHolder (itemView : View ) : RecyclerView.ViewHolder(itemView) {
2627 val textView: TextView = itemView.findViewById(R .id.textview)
2728}
Original file line number Diff line number Diff line change 3333import java .util .ArrayList ;
3434import java .util .List ;
3535
36+ import androidx .annotation .NonNull ;
3637import androidx .core .view .ViewCompat ;
3738import androidx .recyclerview .widget .LinearLayoutManager ;
3839import androidx .recyclerview .widget .LinearSmoothScroller ;
You can’t perform that action at this time.
0 commit comments