class LendingActivity : AppCompatActivity
Part of lending.
Activity responsible for displaying the lendobjects currently shared by the user
<init> |
Part of lending. LendingActivity() |
masterDetail |
: Boolean, determines whether the screen is large enough that master detail views should be displayed at the same time var masterDetail: Boolean |
navigateToAdd |
Method that navigates to the add lending objects screen fragment fun navigateToAdd(): Unit |
navigateToMaster |
Method that navigates to the lending objects overview fragment fun navigateToMaster(): Unit |
onCreate |
Method that is called when the activity is created fun onCreate(: Bundle?): Unit |
onDetailClick |
Method that navigates to the detail view when an list object in the lendingMasterFragment is clicked. It sets the blank LendingDetailFragment, which will be updated on initialisation by the repo fun onDetailClick(): Unit |