android recyclerview scroll to bottom
recyclerView.scrollToPosition(list.size - 1)
// this might be helpful
layoutManager.reverseLayout = true
android recyclerview scroll to bottom
recyclerView.scrollToPosition(list.size - 1)
// this might be helpful
layoutManager.reverseLayout = true
swift scrollview scroll to bottom
let bottomOffset = CGPoint(x: 0, y: scrollView.contentSize.height - scrollView.bounds.size.height)
//OR
//let bottomOffset = CGPoint(x: 0, y: scrollView.frame.maxY)
scrollView.setContentOffset(bottomOffset, animated: true)
UITableview scroll to bottom swift
let indexPath = IndexPath(item: noOfRows, section: 0)
yourTableView.scrollToRow(at: indexPath, at: UITableView.ScrollPosition.bottom, animated: true)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us