mardi 20 octobre 2015

creating adapter name from a String variable

I want to get custom Simplecursoradapter name from string variable.

I.e. String madapter="myCustomAdapter"; madapter adapter=new madpter()

I want to do like above.

Means I want to convert String variable value to adapter name. How can this be done. Please help me. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire