Skip to content

Commit 613cde1

Browse files
committed
Try out the 'Works' section in code
1 parent 89dbe2c commit 613cde1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class TouchSyncActivity : AppCompatActivity() {
2727
})
2828

2929
// Works
30-
// val img = getBitmap(this, R.drawable.ic_baseline_aspect_ratio_24)
30+
val img = getBitmap(this, R.drawable.ic_baseline_aspect_ratio_24)
3131

3232
/** HERE IS THE PROBLEM **/
3333
// Does not work (after zooming in, dinosaur head is unreachable)
34-
val img = getBitmap(this, R.drawable.corgosaurus)
34+
// val img = getBitmap(this, R.drawable.corgosaurus)
3535
binding.touchImage2.setImageBitmap(img)
3636

3737
// Also does not work (after zooming in, dinosaur head is unreachable)

0 commit comments

Comments
 (0)