Back to project page FisgoDroid.
The source code is released under:
The smiley icons bundled with this application belong to Meneame.NET and are licensed under the Creative Commons by-sa 3.0 license. For more information, please visit http://creativecommons.org/licens...
If you think the Android project FisgoDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.meneame.fisgodroid; // w ww . j av a2s .c om public enum FriendshipStatus { UNKNOWN, NONE, FRIEND_ME, FRIEND_THEY, FRIENDS, IGNORED; public static FriendshipStatus fromName(String statusName) { FriendshipStatus status = UNKNOWN; if ( statusName.equals("ignorar") ) { status = IGNORED; } else if ( statusName.equals("elegido") ) { status = FRIEND_THEY; } else if ( statusName.equals("amigos") ) { status = FRIENDS; } else if ( statusName.equals("amigo") ) { status = FRIEND_ME; } else if ( statusName.equals("agregar lista amigos") ) { status = NONE; } return status; } }