what is the values with @number format in debug mode?

In debug mode in the android studio, every variable has a number with @ like this :

container  = {FrameLayout@831696387136}

I think this number is an address but I can't find this in R.java. what's this number and where it is? and in this case, I want to know where is the container refer to - can I know this with FrameLayout@831696387136? Thanks.

sample code

1 answer

  • answered 2018-04-17 04:51 Dani Gee

    This is the container where your are inflating, you don't have to do anything there...

    This is just the container Id. In this case you are inflating a Fragment and using this container to show your content.