Navindian wrote: > When case is 2, it is not showing TextView but when it is case1, it is > showing image properly. The question here is how to show textview on the > other fragment when clicked on the list on the other link. > > On Fri, Nov 25, 2011 at 10:38 PM, Navindian <[email protected]> wrote: > > > PFA screenshot. > > > > On Click of a link, I am able to show the image. > > I wish to show the text instead. > > > > > > > > *switch*(magznumber){ > > > > *case* 1: > > > > i.setImageResource(R.drawable. > > *efymag*); > > > > *break*; > > > > *case* 2: > > > > textViewObject.setText("text"); > > > > *break*; > > > > } > > > > Please comment by looking at the above code. case 2 is not showing the > > text. The following link will help you understanding. > > > > > > http://androidcookbook.com/Recipe.seam;jsessionid=40151FCD26222877E151C3EEFB406EED?recipeId=1160&recipeFrom=ViewTOC > > > > > > Thanks > > navind > >
what the hell are you talking about? nobody is gonna answer such misty and vague questions pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

