1
0
Fork 0

For 10665 - Show the most recent tabs at the top of the tab tray (#10687)

master
David Walsh 2020-05-28 11:17:52 -05:00 committed by GitHub
parent 03284e2da0
commit c0c895af33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,9 @@ open class HomeActivity : LocaleAwareAppCompatActivity() {
}.asView()
TabsTray::class.java.name -> {
val layout = LinearLayoutManager(context)
layout.reverseLayout = true
layout.stackFromEnd = true
val adapter = TabsAdapter { parentView, _ ->
TabTrayViewHolder(
LayoutInflater.from(this).inflate(