retrieving data from sqlite and displaying it in a specific fragment according to the condition of a table of value in the database

208 viewsandroid database
0
Musa Kamuti | 12 xp

hello am trying to create a pig farming application ,i have in my database a table called pig and the values are id,name,weight ,age, but i want when a user selects  say for example male on a spinner then that data gets displayed on a particular fragment of a male pig with name,weight ,age inclusive.please will gladly appreciate any help