C
Capkin55
Neues Mitglied
Ich hab mir ein Android ab mit drei Fragments zusammen gebastelt und will zu jedem einen Bild runterladen.
ZB.
zu Fragment1 bild1
zu Fragment2 bild2
usw...
Fragment1
es würd mich sehr freuen wenn ihr mir weiter helfen könntet.
danke
ZB.
zu Fragment1 bild1
zu Fragment2 bild2
usw...
Fragment1
Code:
[B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]
[LEFT]public[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]class[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Fragment1 [/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]extends[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SherlockFragment {[/LEFT]
[LEFT][/SIZE][SIZE=2][COLOR=#646464][SIZE=2][COLOR=#646464]@Override[/LEFT]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [LEFT][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]public[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] View onCreateView(LayoutInflater inflater, ViewGroup container,[/LEFT]
[LEFT]Bundle savedInstanceState) {[/LEFT]
[LEFT]View rootView = inflater.inflate(R.layout.[/SIZE][I][SIZE=2][COLOR=#0000c0][SIZE=2][COLOR=#0000c0]fragment1[/I][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2], container, [/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]false[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]);[/LEFT]
[LEFT][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]return[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] rootView;[/LEFT]
[LEFT]}[/LEFT]
[LEFT]}[/LEFT]
[/SIZE]
danke