Searched refs:photo (Results 1 – 12 of 12) sorted by relevance
25 val photo: Int?, constant in com.example.android.bubbles.data.Message36 var photo: Int? = null variable in com.example.android.bubbles.data.Message.Builder38 fun build() = Message(id!!, sender!!, text!!, photo, timestamp!!)
143 if (lastMessage.photo != null) { in <lambda>()145 … .bigPicture(BitmapFactory.decodeResource(context.resources, lastMessage.photo)) in <lambda>()
42 photo = R.drawable.sheep_full in <lambda>()
1 package com.example.android.bubbles.ui.photo22 fun newInstance(@DrawableRes photo: Int) = PhotoFragment().apply { in <lambda>()24 putInt(ARG_PHOTO, photo) in <lambda>()45 view.findViewById<ImageView>(R.id.photo).setImageResource(photoResId) in onViewCreated()
35 private val onPhotoClicked: (photo: Int) -> Unit69 val photo: Int? = it.getTag(R.id.tag_photo) as Int? in onCreateViewHolder() constant70 if (photo != null) { in onCreateViewHolder()71 onPhotoClicked(photo) in onCreateViewHolder()91 if (message.photo != null) { in onBindViewHolder()92 holder.message.setTag(R.id.tag_photo, message.photo) in onBindViewHolder()93 setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, message.photo) in onBindViewHolder()
116 val messageAdapter = MessageAdapter(view.context) { photo -> in <lambda>() method117 navigationController.openPhoto(photo) in <lambda>()
24 import com.example.android.bubbles.ui.photo.PhotoFragment46 override fun openPhoto(photo: Int) { in openPhoto()51 replace(R.id.container, PhotoFragment.newInstance(photo)) in openPhoto()
32 import com.example.android.bubbles.ui.photo.PhotoFragment108 override fun openPhoto(photo: Int) { in openPhoto()111 replace(R.id.container, PhotoFragment.newInstance(photo)) in openPhoto()
30 fun openPhoto(@DrawableRes photo: Int) in <lambda>()
42 mPhoto = (ImageView) view.findViewById(R.id.photo); in onCreateView()
863 "photo"876 "typeName": "photo"